mirror of https://github.com/sbt/sbt.git
Merge pull request #7830 from Friendseeker/remove-early-output-version
[1.x] Use generic early output file name
This commit is contained in:
commit
4e15180596
|
|
@ -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}")
|
||||
},
|
||||
)
|
||||
|
|
|
|||
Loading…
Reference in New Issue