forked from softprops/assembly-sbt
-
Notifications
You must be signed in to change notification settings - Fork 223
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #433 from eed3si9n/wip/refactor
Generate AssemblyOption as pseudo case class + widen default setting scopes
- Loading branch information
Showing
22 changed files
with
494 additions
and
219 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,3 @@ | ||
addSbtPlugin("com.github.sbt" % "sbt-pgp" % "2.1.2") | ||
addSbtPlugin("com.eed3si9n" % "sbt-nocomma" % "0.1.0") | ||
addSbtPlugin("org.scala-sbt" % "sbt-contraband" % "0.5.1") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
package sbtassembly | ||
@target(Scala) | ||
|
||
type AssemblyOption { | ||
assemblyDirectory: java.io.File @since("0.15.0") | ||
|
||
## include compiled class files from itself or subprojects | ||
includeBin: Boolean! = true @since("0.15.0") | ||
|
||
includeScala: Boolean! = true @since("0.15.0") | ||
|
||
## include class files from external dependencies | ||
includeDependency: Boolean! = true @since("0.15.0") | ||
|
||
excludedJars: sbt.Keys.Classpath! = raw"Nil" @since("0.15.0") | ||
|
||
excludedFiles: sbtassembly.Assembly.SeqFileToSeqFile! = raw"sbtassembly.Assembly.defaultExcludedFiles" @since("0.15.0") | ||
|
||
mergeStrategy: sbtassembly.MergeStrategy.StringToMergeStrategy! = raw"sbtassembly.MergeStrategy.defaultMergeStrategy" @since("0.15.0") | ||
|
||
cacheOutput: Boolean! = true @since("0.15.0") | ||
|
||
cacheUnzip: Boolean! = true @since("0.15.0") | ||
|
||
appendContentHash: Boolean! = false @since("0.15.0") | ||
|
||
prependShellScript: sbtassembly.Assembly.SeqString @since("0.15.0") | ||
|
||
maxHashLength: Int @since("0.15.0") | ||
|
||
shadeRules: [com.eed3si9n.jarjarabrams.ShadeRule] @since("0.15.0") | ||
|
||
scalaVersion: String! = "" @since("0.15.0") | ||
|
||
level: sbt.Level.Value! = raw"sbt.Level.Info" @since("0.15.0") | ||
} |
Oops, something went wrong.