Skip to content

Commit

Permalink
Drop deprecated keys
Browse files Browse the repository at this point in the history
  • Loading branch information
eed3si9n committed Jun 6, 2021
1 parent 28e6ddc commit 81a91ca
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 23 deletions.
21 changes: 0 additions & 21 deletions src/main/scala/sbtassembly/AssemblyKeys.scala
Original file line number Diff line number Diff line change
Expand Up @@ -11,33 +11,12 @@ trait AssemblyKeys {
lazy val assembledMappings = taskKey[Seq[MappingSet]]("Keeps track of jar origins for each source.")

lazy val assemblyPackageScala = taskKey[File]("Produces the scala artifact.")
@deprecated("Use assemblyPackageScala", "0.12.0")
lazy val packageScala = assemblyPackageScala

lazy val assemblyPackageDependency = taskKey[File]("Produces the dependency artifact.")
@deprecated("Use assemblyPackageDependency", "0.12.0")
lazy val packageDependency = assemblyPackageDependency

lazy val assemblyJarName = taskKey[String]("name of the fat jar")
@deprecated("Use assemblyJarName", "0.12.0")
lazy val jarName = assemblyJarName

lazy val assemblyDefaultJarName = taskKey[String]("default name of the fat jar")
@deprecated("Use assemblyDefaultJarName", "0.12.0")
lazy val defaultJarName = assemblyDefaultJarName

lazy val assemblyOutputPath = taskKey[File]("output path of the fat jar")
@deprecated("Use assemblyOutputPath", "0.12.0")
lazy val outputPath = assemblyOutputPath

lazy val assemblyExcludedJars = taskKey[Classpath]("list of excluded jars")
@deprecated("Use assemblyExcludedJars", "0.12.0")
lazy val excludedJars = assemblyExcludedJars

lazy val assemblyMergeStrategy = settingKey[String => MergeStrategy]("mapping from archive member path to merge strategy")
@deprecated("Use assemblyMergeStrategy", "0.12.0")
lazy val mergeStrategy = assemblyMergeStrategy

lazy val assemblyShadeRules = settingKey[Seq[jarjarabrams.ShadeRule]]("shading rules backed by jarjar")
}
object AssemblyKeys extends AssemblyKeys
Expand Down
2 changes: 1 addition & 1 deletion src/sbt-test/merging/mergefail/build.sbt
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
lazy val testmerge = (project in file(".")).
settings(
version := "0.1",
jarName in assembly := "foo.jar",
assemblyJarName in assembly := "foo.jar",
mergeStrategy in assembly := {
val old = (mergeStrategy in assembly).value

Expand Down
2 changes: 1 addition & 1 deletion src/sbt-test/merging/mergefail2/build.sbt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
lazy val testmerge = (project in file(".")).
settings(
version := "0.1",
jarName in assembly := "foo.jar"
assemblyJarName in assembly := "foo.jar"
)

0 comments on commit 81a91ca

Please sign in to comment.