mirror of https://github.com/sbt/sbt.git
Configure launchconfig to 2.11
This commit is contained in:
parent
de4fef8a09
commit
0df316b34e
|
|
@ -1,5 +1,5 @@
|
|||
[scala]
|
||||
version: ${sbt.scala.version-auto}
|
||||
version: 2.11.8
|
||||
|
||||
[app]
|
||||
org: ${sbt.organization-${{org}}}
|
||||
|
|
@ -7,7 +7,7 @@
|
|||
version: ${sbt.version-read(sbt.version)[${{sbt.version}}]}
|
||||
class: ${sbt.main.class-sbt.xMain}
|
||||
components: xsbti,extra
|
||||
cross-versioned: ${sbt.cross.versioned-false}
|
||||
cross-versioned: ${sbt.cross.versioned-binary}
|
||||
resources: ${sbt.extraClasspath-}
|
||||
|
||||
[repositories]
|
||||
|
|
|
|||
|
|
@ -0,0 +1,26 @@
|
|||
[scala]
|
||||
version: 2.10.6
|
||||
|
||||
[app]
|
||||
org: ${sbt.organization-org.scala-sbt}
|
||||
name: sbt
|
||||
version: ${sbt.version-read(sbt.version)[0.13.9]}
|
||||
class: sbt.xMain
|
||||
components: xsbti,extra
|
||||
cross-versioned: ${sbt.cross.versioned-false}
|
||||
resources: ${sbt.extraClasspath-}
|
||||
|
||||
[repositories]
|
||||
local
|
||||
maven-central
|
||||
typesafe-ivy-releases: https://repo.typesafe.com/typesafe/ivy-releases/, [organization]/[module]/[revision]/[type]s/[artifact](-[classifier]).[ext], bootOnly
|
||||
sbt-ivy-snapshots: https://repo.scala-sbt.org/scalasbt/ivy-snapshots/, [organization]/[module]/[revision]/[type]s/[artifact](-[classifier]).[ext], bootOnly
|
||||
|
||||
[boot]
|
||||
directory: ${sbt.boot.directory-${sbt.global.base-${user.home}/.sbt}/boot/}
|
||||
|
||||
[ivy]
|
||||
ivy-home: ${sbt.ivy.home-${user.home}/.ivy2/}
|
||||
checksums: ${sbt.checksums-sha1,md5}
|
||||
override-build-repos: ${sbt.override.build.repos-false}
|
||||
repository-config: ${sbt.repository.config-${sbt.global.base-${user.home}/.sbt}/repositories}
|
||||
|
|
@ -1,5 +1,10 @@
|
|||
val root = (project in file("."))
|
||||
|
||||
TaskKey[Unit]("checkScalaVersion", "test") := {
|
||||
val sv = scalaVersion.value
|
||||
assert(sv startsWith "2.11.", s"Found $sv!")
|
||||
}
|
||||
|
||||
TaskKey[Unit]("checkArtifacts", "test") := {
|
||||
val arts = packagedArtifacts.value
|
||||
assert(arts.nonEmpty, "Packaged artifacts must not be empty!")
|
||||
|
|
|
|||
|
|
@ -1 +1,2 @@
|
|||
> checkArtifacts
|
||||
> checkScalaVersion
|
||||
|
|
|
|||
Loading…
Reference in New Issue