X-Git-Url: https://git.nmode.ca/signal-cli/blobdiff_plain/c1d3a647a2b810f373601babce7dcefa18ffb39f..8ebca0d7fb37489e1b3109519b9ff76067295007:/build.gradle.kts?ds=sidebyside diff --git a/build.gradle.kts b/build.gradle.kts index 3ad2c67b..37b94492 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -5,7 +5,7 @@ plugins { `check-lib-versions` } -version = "0.8.3" +version = "0.9.0" java { sourceCompatibility = JavaVersion.VERSION_11 @@ -22,8 +22,8 @@ repositories { } dependencies { - implementation("org.bouncycastle:bcprov-jdk15on:1.68") - implementation("net.sourceforge.argparse4j:argparse4j:0.8.1") + implementation("org.bouncycastle:bcprov-jdk15on:1.69") + implementation("net.sourceforge.argparse4j:argparse4j:0.9.0") implementation("com.github.hypfvieh:dbus-java:3.3.0") implementation("org.slf4j:slf4j-simple:1.7.30") implementation(project(":lib")) @@ -48,9 +48,9 @@ tasks.withType { tasks.withType { manifest { attributes( - "Implementation-Title" to project.name, - "Implementation-Version" to project.version, - "Main-Class" to application.mainClass.get() + "Implementation-Title" to project.name, + "Implementation-Version" to project.version, + "Main-Class" to application.mainClass.get() ) } } @@ -70,7 +70,7 @@ val assembleNativeImage by tasks.registering { var graalVMHome = "" doFirst { graalVMHome = System.getenv("GRAALVM_HOME") - ?: throw GradleException("Required GRAALVM_HOME environment variable not set.") + ?: throw GradleException("Required GRAALVM_HOME environment variable not set.") } doLast { @@ -81,22 +81,24 @@ val assembleNativeImage by tasks.registering { exec { workingDir = File(".") - commandLine("$graalVMHome/bin/native-image", - "-H:Path=$nativeBinaryOutputPath", - "-H:Name=$nativeBinaryName", - "-H:JNIConfigurationFiles=graalvm-config-dir/jni-config.json", - "-H:DynamicProxyConfigurationFiles=graalvm-config-dir/proxy-config.json", - "-H:ResourceConfigurationFiles=graalvm-config-dir/resource-config.json", - "-H:ReflectionConfigurationFiles=graalvm-config-dir/reflect-config.json", - "--no-fallback", - "--allow-incomplete-classpath", - "--report-unsupported-elements-at-runtime", - "--enable-url-protocols=http,https", - "--enable-https", - "--enable-all-security-services", - "-cp", - sourceSets.main.get().runtimeClasspath.asPath, - application.mainClass.get()) + commandLine( + "$graalVMHome/bin/native-image", + "-H:Path=$nativeBinaryOutputPath", + "-H:Name=$nativeBinaryName", + "-H:JNIConfigurationFiles=graalvm-config-dir/jni-config.json", + "-H:DynamicProxyConfigurationFiles=graalvm-config-dir/proxy-config.json", + "-H:ResourceConfigurationFiles=graalvm-config-dir/resource-config.json", + "-H:ReflectionConfigurationFiles=graalvm-config-dir/reflect-config.json", + "--no-fallback", + "--allow-incomplete-classpath", + "--report-unsupported-elements-at-runtime", + "--enable-url-protocols=http,https", + "--enable-https", + "--enable-all-security-services", + "-cp", + sourceSets.main.get().runtimeClasspath.asPath, + application.mainClass.get() + ) } } }