-
Notifications
You must be signed in to change notification settings - Fork 24
/
build.sbt
44 lines (39 loc) · 1.24 KB
/
build.sbt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
import xerial.sbt.Sonatype._
sonatypeProfileName := "de.gccc"
sonatypeProjectHosting := Some(GitHubHosting("sbt-jib", "sbt-jib", "c.schmitt@briefdomain.de"))
inThisBuild(
Seq(
scalaVersion := "2.12.17",
organization := "de.gccc.sbt",
homepage := Some(url("https://github.com/schmitch")),
licenses := Seq("APL2" -> url("http://www.apache.org/licenses/LICENSE-2.0.txt")),
developers := List(
Developer(
id = "schmitch",
name = "Christian Schmitt",
email = "c.schmitt@briefdomain.de",
url = url("https://github.com/schmitch")
)
)
)
)
lazy val jibCommon = (project in file("jib-common")).settings(
name := "jib-common",
crossScalaVersions := List(scalaVersion.value, "2.11.12", "2.13.10", "3.3.0"),
libraryDependencies ++= List(
"com.google.cloud.tools" % "jib-core" % "0.27.0",
"org.scala-lang.modules" %% "scala-collection-compat" % "2.9.0"
)
)
lazy val sbtJib = (project in file("sbt-jib"))
.settings(
name := "sbt-jib"
)
.dependsOn(jibCommon)
.enablePlugins(SbtPlugin)
lazy val root = (project in file("."))
.settings(
publish / skip := true,
crossScalaVersions := Nil
)
.aggregate(jibCommon, sbtJib)