6 id("org.graalvm.buildtools.native") version "0.9.5"
12 sourceCompatibility = JavaVersion.VERSION_11
13 targetCompatibility = JavaVersion.VERSION_11
17 mainClass.set("org.asamk.signal.Main")
23 configurationFileDirectories.from(file("graalvm-config-dir"))
24 buildArgs.add("--allow-incomplete-classpath")
35 implementation("org.bouncycastle:bcprov-jdk15on:1.69")
36 implementation("net.sourceforge.argparse4j:argparse4j:0.9.0")
37 implementation("com.github.hypfvieh:dbus-java:3.3.0")
38 implementation("org.slf4j:slf4j-simple:1.7.30")
39 implementation(project(":lib"))
44 resolutionStrategy.failOnVersionConflict()
49 tasks.withType<AbstractArchiveTask>().configureEach {
50 isPreserveFileTimestamps = false
51 isReproducibleFileOrder = true
54 tasks.withType<JavaCompile> {
55 options.encoding = "UTF-8"
61 "Implementation-Title" to project.name,
62 "Implementation-Version" to project.version,
63 "Main-Class" to application.mainClass.get()