feat(sidecar): scaffold Kotlin JVM module with Shadow fat JAR

Kotlin 2.1.21 (deviation from plan's 1.9, forced by Gradle 9
compatibility), JDK 17 toolchain, application plugin with main
entry dev.uatu.sidecar.MainKt. Shadow 9.0.0-rc2 for the fat JAR.
Actual gRPC server wires in with task #10.
This commit is contained in:
pj committed 2026-04-17 22:38:01 +07:00
1 parent b594108595
commit 9a792e20ce
3 files changed
+44

No files matched your search

+28
View File
@@ -0,0 +1,28 @@
plugins {
kotlin("jvm") version "2.1.21"
application
id("com.gradleup.shadow") version "9.0.0-rc2"
}
java {
toolchain {
languageVersion.set(JavaLanguageVersion.of(17))
}
}
kotlin {
jvmToolchain(17)
}
dependencies {
testImplementation(kotlin("test"))
testImplementation("org.junit.jupiter:junit-jupiter:5.11.3")
}
application {
mainClass.set("dev.uatu.sidecar.MainKt")
}
tasks.test {
useJUnitPlatform()
}
@@ -0,0 +1,5 @@
package dev.uatu.sidecar
fun main() {
println("uatu-sidecar stub: gRPC server lands in task #10")
}
@@ -0,0 +1,11 @@
package dev.uatu.sidecar
import kotlin.test.Test
import kotlin.test.assertTrue
class MainTest {
@Test
fun mainExists() {
assertTrue(true, "placeholder test — real tests land with DriverService")
}
}