Changed to Kotlin

This commit is contained in:
2023-09-23 20:46:13 +02:00
parent 9bade2780c
commit d377cbd886
122 changed files with 2402 additions and 2343 deletions
+38
View File
@@ -0,0 +1,38 @@
plugins {
id("twomartens.jib")
}
dependencies {
implementation(project(":server"))
}
jib {
from {
image = "amazoncorretto:" + properties["projectSourceCompatibility"] + "-alpine"
platforms {
platform {
architecture = "amd64"
os = "linux"
}
platform {
architecture = "arm64"
os = "linux"
}
}
}
to {
image = "2martens/timetable"
tags = setOf(
"latest",
properties["version"].toString().replace("+", "-"))
auth {
username = System.getenv("USERNAME")
password = System.getenv("PASSWORD")
}
}
container {
mainClass = "de.twomartens.timetable.MainApplicationKt"
jvmFlags = listOf("-XX:+UseContainerSupport",
"-XX:MaxRAMPercentage=75.0")
}
}