mirror of https://github.com/sbt/sbt.git
Fix build warnings
This commit is contained in:
parent
d547b46ea6
commit
b59258c50d
12
build.sbt
12
build.sbt
|
|
@ -48,8 +48,8 @@ def commonSettings: Seq[Setting[_]] = Seq[SettingsDefinition](
|
||||||
bintrayRepository := (bintrayRepository in ThisBuild).value,
|
bintrayRepository := (bintrayRepository in ThisBuild).value,
|
||||||
mimaDefaultSettings,
|
mimaDefaultSettings,
|
||||||
publishArtifact in Test := false,
|
publishArtifact in Test := false,
|
||||||
previousArtifact := None, // Some(organization.value % moduleName.value % "1.0.0"),
|
mimaPreviousArtifacts := Set.empty, // Set(organization.value % moduleName.value % "1.0.0"),
|
||||||
binaryIssueFilters ++= Seq(
|
mimaBinaryIssueFilters ++= Seq(
|
||||||
)
|
)
|
||||||
) flatMap (_.settings)
|
) flatMap (_.settings)
|
||||||
|
|
||||||
|
|
@ -269,8 +269,8 @@ def rootSettings = fullDocSettings ++
|
||||||
Util.publishPomSettings ++ otherRootSettings ++ Formatting.sbtFilesSettings ++
|
Util.publishPomSettings ++ otherRootSettings ++ Formatting.sbtFilesSettings ++
|
||||||
Transform.conscriptSettings(bundledLauncherProj)
|
Transform.conscriptSettings(bundledLauncherProj)
|
||||||
def otherRootSettings = Seq(
|
def otherRootSettings = Seq(
|
||||||
scripted <<= scriptedTask,
|
scripted := scriptedTask.evaluated,
|
||||||
scriptedUnpublished <<= scriptedUnpublishedTask,
|
scriptedUnpublished := scriptedUnpublishedTask.evaluated,
|
||||||
scriptedSource := (sourceDirectory in sbtProj).value / "sbt-test",
|
scriptedSource := (sourceDirectory in sbtProj).value / "sbt-test",
|
||||||
// scriptedPrescripted := { addSbtAlternateResolver _ },
|
// scriptedPrescripted := { addSbtAlternateResolver _ },
|
||||||
scriptedLaunchOpts := List("-XX:MaxPermSize=256M", "-Xmx1G"),
|
scriptedLaunchOpts := List("-XX:MaxPermSize=256M", "-Xmx1G"),
|
||||||
|
|
@ -283,8 +283,8 @@ def otherRootSettings = Seq(
|
||||||
List("-XX:MaxPermSize=256M", "-Xmx1G", "-Dsbt.override.build.repos=true",
|
List("-XX:MaxPermSize=256M", "-Xmx1G", "-Dsbt.override.build.repos=true",
|
||||||
s"""-Dsbt.repository.config=${ scriptedSource.value / "repo.config" }""")
|
s"""-Dsbt.repository.config=${ scriptedSource.value / "repo.config" }""")
|
||||||
},
|
},
|
||||||
scripted <<= scriptedTask,
|
scripted := scriptedTask.evaluated,
|
||||||
scriptedUnpublished <<= scriptedUnpublishedTask,
|
scriptedUnpublished := scriptedUnpublishedTask.evaluated,
|
||||||
scriptedSource := (sourceDirectory in sbtProj).value / "repo-override-test"
|
scriptedSource := (sourceDirectory in sbtProj).value / "repo-override-test"
|
||||||
))
|
))
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue