Skip to content

Commit c672c19

Browse files
committed
Up to jar.
1 parent 76b579c commit c672c19

8 files changed

Lines changed: 718 additions & 0 deletions

File tree

.gitignore

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,10 @@
44
# Ignore Gradle build output directory
55
build
66

7+
# Ignore SBT output directories
8+
**/target
9+
**/.bsp
10+
711
# Eclipse
812
bin
913
.classpath

build.sbt

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
lazy val commonSettings = Seq(
2+
// Sensible layout
3+
Compile / javaSource := baseDirectory.value / "src",
4+
Compile / resourceDirectory := baseDirectory.value / "resources",
5+
Test / javaSource := baseDirectory.value / "test",
6+
Test / resourceDirectory := baseDirectory.value / "test-resources",
7+
8+
// Do not append Scala versions to the generated artifacts
9+
crossPaths := false,
10+
// This forbids including Scala related libraries into the dependency
11+
autoScalaLibrary := false,
12+
13+
Compile / packageDoc / publishArtifact := false
14+
)
15+
16+
lazy val util = (project in file("org.jdrupes.vmoperator.util"))
17+
.settings(commonSettings: _*)
18+
19+
lazy val common = (project in file("org.jdrupes.vmoperator.common"))
20+
.settings(commonSettings: _*)
21+
.dependsOn(util)
22+
23+
lazy val runnerQemu = (project in file("org.jdrupes.vmoperator.runner.qemu"))
24+
.settings(commonSettings: _*)
25+
.dependsOn(common)
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
2+
libraryDependencies ++= Seq(
3+
"org.jgrapes" % "org.jgrapes.core" % "[1.22.1,2)",
4+
"io.kubernetes" % "client-java" % "[19.0.0,20.0.0)",
5+
"org.yaml" % "snakeyaml" % "[2.4,2.5)",
6+
"com.fasterxml.jackson.datatype" % "jackson-datatype-jsr310" % "[2.16.1,3]"
7+
)
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
enablePlugins(JavaAppPackaging)
2+
3+
libraryDependencies ++= Seq(
4+
"org.jgrapes" % "org.jgrapes.core" % "[1.22.1,2)",
5+
"org.jgrapes" % "org.jgrapes.util" % "[1.38.1,2)",
6+
"org.jgrapes" % "org.jgrapes.io" % "[2.12.1,3)",
7+
"org.jgrapes" % "org.jgrapes.http" % "[3.5.0,4)",
8+
"commons-cli" % "commons-cli" % "1.5.0",
9+
"com.fasterxml.jackson.dataformat" % "jackson-dataformat-yaml" % "[2.16.1]",
10+
"org.slf4j" % "slf4j-jdk14" % "[2.0.7,3)" % Runtime
11+
)
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
2+
libraryDependencies ++= Seq(
3+
"org.freemarker" % "freemarker" % "[2.3.32,2.4)",
4+
"com.google.code.gson" % "gson" % "[2.10.1,2.11)"
5+
)

project/build.properties

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
sbt.version=1.10.11

project/plugins.sbt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
addSbtPlugin("com.github.sbt" % "sbt-native-packager" % "[1.11.1,1.12)")

0 commit comments

Comments
 (0)