Merge pull request #7830 from Friendseeker/remove-early-output-version

[1.x] Use generic early output file name
This commit is contained in:
eugene yokota
2024-10-28 01:12:58 -04:00
committed by GitHub
2 changed files with 2 additions and 10 deletions
+1 -9
View File
@@ -1818,16 +1818,8 @@ object Defaults extends BuildCommon {
extraPrefix: String
): Initialize[File] =
Def.setting {
val f = artifactName.value
crossTarget.value /
(prefix(configuration.value.name) + extraPrefix) / f(
ScalaVersion(
(artifactName / scalaVersion).value,
(artifactName / scalaBinaryVersion).value
),
projectID.value,
art.value
)
(prefix(configuration.value.name) + "early") / "early.jar"
}
private[sbt] def prefixArtifactPathSetting(
@@ -17,6 +17,6 @@ lazy val use = project
val x = (dep / Compile / compile).value
val picklePath = (Compile / internalDependencyPicklePath).value
assert(picklePath.size == 1 &&
picklePath.head.data.name == "dep_2.13-0.1.0-SNAPSHOT.jar", s"picklePath = ${picklePath}")
picklePath.head.data.name == "early.jar", s"picklePath = ${picklePath}")
},
)