mirror of https://github.com/sbt/sbt.git
Merge pull request #6808 from eed3si9n/wip/lm
[1.6.x] Make License object available
This commit is contained in:
commit
567fd8b60b
|
|
@ -14,7 +14,7 @@ object Dependencies {
|
|||
// sbt modules
|
||||
private val ioVersion = nightlyVersion.getOrElse("1.6.0")
|
||||
private val lmVersion =
|
||||
sys.props.get("sbt.build.lm.version").orElse(nightlyVersion).getOrElse("1.6.0")
|
||||
sys.props.get("sbt.build.lm.version").orElse(nightlyVersion).getOrElse("1.6.1")
|
||||
val zincVersion = nightlyVersion.getOrElse("1.6.0")
|
||||
|
||||
private val sbtIO = "org.scala-sbt" %% "io" % ioVersion
|
||||
|
|
|
|||
|
|
@ -297,6 +297,7 @@ trait Import {
|
|||
type IvyScala = sbt.librarymanagement.ScalaModuleInfo
|
||||
val JCenterRepository = sbt.librarymanagement.Resolver.JCenterRepository
|
||||
val JavaNet2Repository = sbt.librarymanagement.Resolver.JavaNet2Repository
|
||||
val License = sbt.librarymanagement.License
|
||||
type LogicalClock = sbt.librarymanagement.LogicalClock
|
||||
val LogicalClock = sbt.librarymanagement.LogicalClock
|
||||
type MakePomConfiguration = sbt.librarymanagement.MakePomConfiguration
|
||||
|
|
|
|||
|
|
@ -11,6 +11,7 @@ ThisBuild / version := "0.1.0-SNAPSHOT"
|
|||
ThisBuild / organization := "com.example"
|
||||
ThisBuild / organizationName := "example"
|
||||
ThisBuild / csrCacheDirectory := (ThisBuild / baseDirectory).value / "coursier-cache"
|
||||
ThisBuild / licenses := List(License.Apache2)
|
||||
|
||||
lazy val Dev = config("dev").extend(Compile)
|
||||
.describedAs("Dependencies required for development environments")
|
||||
|
|
|
|||
Loading…
Reference in New Issue