-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.sbt
80 lines (72 loc) · 1.81 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
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
import xerial.sbt.Sonatype._
ThisBuild / version := "0.2.0"
ThisBuild / scalaVersion := "3.2.1"
ThisBuild / scalacOptions ++= Seq(
"-indent",
"-new-syntax",
"-Xfatal-warnings",
)
lazy val commonSettings = Seq(
organization := "io.github.mimoguz",
licenses := Seq("Apache-2.0" -> url("https://www.apache.org/licenses/LICENSE-2.0.txt")),
developers := List(
Developer(
id = "mimoguz",
name = "Mumtaz Oguz Tas",
email = "[email protected]",
url = url("https://github.com/mimoguz"),
)
),
publishTo := sonatypePublishToBundle.value,
sonatypeCredentialHost := "s01.oss.sonatype.org",
sonatypeProjectHosting := Some(GitHubHosting("mimoguz", "layeredfonticon", "[email protected]")),
publishMavenStyle := true,
)
lazy val core = project
.in(file("core"))
.settings(
commonSettings,
moduleName := "layeredfonticon-core",
name := "core",
)
lazy val flat = project
.in(file("flat"))
.dependsOn(core)
.aggregate(core)
.settings(
commonSettings,
moduleName := "layeredfonticon-flat",
name := "flat",
libraryDependencies += "com.formdev" % "flatlaf" % "3.0",
)
lazy val basic = project
.in(file("basic"))
.dependsOn(core)
.aggregate(core)
.settings(
commonSettings,
moduleName := "layeredfonticon-basic",
name := "basic"
)
lazy val scalaDemo = project
.in(file("scalademo"))
.dependsOn(basic)
.aggregate(basic)
.settings(
name := "layeredfonticon-scalademo",
)
lazy val javaDemo = project
.in(file("javademo"))
.dependsOn(basic)
.aggregate(basic)
.settings(
name := "layeredfonticon-javademo",
)
lazy val root = project
.in(file("."))
.dependsOn(core, basic, flat)
.aggregate(core, basic, flat)
.settings(
moduleName := "layeredfonticon-all",
publishArtifact := false,
)