Skip to content

Commit

Permalink
Make License object available
Browse files Browse the repository at this point in the history
  • Loading branch information
eed3si9n committed Feb 1, 2022
1 parent ca0fd3d commit 761ad14
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion project/Dependencies.scala
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
1 change: 1 addition & 0 deletions sbt-app/src/main/scala/sbt/Import.scala
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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")
Expand Down

0 comments on commit 761ad14

Please sign in to comment.