Merge pull request #6808 from eed3si9n/wip/lm

[1.6.x] Make License object available
This commit is contained in:
eugene yokota 2022-01-31 22:47:04 -05:00 committed by GitHub
commit 567fd8b60b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 3 additions and 1 deletions

View File

@ -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

View File

@ -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

View File

@ -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")