mirror of
https://github.com/lightbend/config.git
synced 2025-03-22 07:10:23 +08:00
move examples to a Scala directory so it's easy to add others
This commit is contained in:
parent
868a50a53d
commit
f41cc8071c
@ -26,7 +26,7 @@ object ConfigBuild extends Build {
|
|||||||
|
|
||||||
lazy val root = Project(id = "root",
|
lazy val root = Project(id = "root",
|
||||||
base = file("."),
|
base = file("."),
|
||||||
settings = Project.defaultSettings ++ unpublished) aggregate(testLib, configLib, simpleLib, simpleApp)
|
settings = Project.defaultSettings ++ unpublished) aggregate(testLib, configLib, simpleLibScala, simpleAppScala, complexAppScala)
|
||||||
|
|
||||||
lazy val configLib = Project(id = "config",
|
lazy val configLib = Project(id = "config",
|
||||||
base = file("config"),
|
base = file("config"),
|
||||||
@ -44,17 +44,17 @@ object ConfigBuild extends Build {
|
|||||||
base = file("test-lib"),
|
base = file("test-lib"),
|
||||||
settings = Project.defaultSettings ++ unpublished)
|
settings = Project.defaultSettings ++ unpublished)
|
||||||
|
|
||||||
lazy val simpleLib = Project(id = "simple-lib",
|
lazy val simpleLibScala = Project(id = "simple-lib",
|
||||||
base = file("examples/simple-lib"),
|
base = file("examples/scala/simple-lib"),
|
||||||
settings = Project.defaultSettings ++ unpublished) dependsOn(configLib)
|
settings = Project.defaultSettings ++ unpublished) dependsOn(configLib)
|
||||||
|
|
||||||
lazy val simpleApp = Project(id = "simple-app",
|
lazy val simpleAppScala = Project(id = "simple-app",
|
||||||
base = file("examples/simple-app"),
|
base = file("examples/scala/simple-app"),
|
||||||
settings = Project.defaultSettings ++ unpublished) dependsOn(simpleLib)
|
settings = Project.defaultSettings ++ unpublished) dependsOn(simpleLibScala)
|
||||||
|
|
||||||
lazy val complexApp = Project(id = "complex-app",
|
lazy val complexAppScala = Project(id = "complex-app",
|
||||||
base = file("examples/complex-app"),
|
base = file("examples/scala/complex-app"),
|
||||||
settings = Project.defaultSettings ++ unpublished) dependsOn(simpleLib)
|
settings = Project.defaultSettings ++ unpublished) dependsOn(simpleLibScala)
|
||||||
}
|
}
|
||||||
|
|
||||||
// from https://raw.github.com/paulp/scala-improving/master/project/PublishToSonatype.scala
|
// from https://raw.github.com/paulp/scala-improving/master/project/PublishToSonatype.scala
|
||||||
|
Loading…
Reference in New Issue
Block a user