init. dbus registration works

This commit is contained in:
2023-10-20 09:26:38 -04:00
commit 9c598a42bb
4 changed files with 104 additions and 0 deletions

28
build.gradle.kts Normal file
View File

@@ -0,0 +1,28 @@
plugins {
id("org.jetbrains.kotlin.jvm") version "1.9.0"
application
}
dependencies {
testImplementation("org.jetbrains.kotlin:kotlin-test-junit5")
testImplementation("org.junit.jupiter:junit-jupiter-engine:5.9.3")
implementation("com.github.hypfvieh:dbus-java-core:4.3.1")
runtimeOnly("com.github.hypfvieh:dbus-java-transport-native-unixsocket:4.3.1")
implementation("org.slf4j:slf4j-api:2.0.9")
runtimeOnly("org.slf4j:slf4j-simple:2.0.9")
}
// Apply a specific Java toolchain to ease working on different environments.
java {
toolchain {
languageVersion.set(JavaLanguageVersion.of(17))
}
}
application {
mainClass.set("net.eksb.obsdc.Main")
}
tasks.named<Test>("test") {
useJUnitPlatform()
}