Ready for first release
This commit is contained in:
@@ -1,3 +1,5 @@
|
||||
import com.github.jengelman.gradle.plugins.shadow.tasks.ShadowJar
|
||||
|
||||
plugins {
|
||||
alias(libs.plugins.jvm)
|
||||
application
|
||||
@@ -40,4 +42,8 @@ kotlin {
|
||||
freeCompilerArgs.add("-Xcontext-parameters")
|
||||
optIn.add("kotlin.uuid.ExperimentalUuidApi")
|
||||
}
|
||||
}
|
||||
|
||||
tasks.withType<ShadowJar> {
|
||||
archiveFileName = "phoebench-cli.jar"
|
||||
}
|
||||
@@ -97,6 +97,12 @@ compose.desktop {
|
||||
targetFormats(TargetFormat.Dmg, TargetFormat.Msi, TargetFormat.Deb)
|
||||
packageName = "com.jaytux.phoebench.clients"
|
||||
packageVersion = rootProject.version.toString().split('-')[0]
|
||||
|
||||
jvmArgs += listOf("--enable-native-access=ALL-UNNAMED")
|
||||
includeAllModules = true
|
||||
buildTypes.release.proguard {
|
||||
configurationFiles.from(file("proguard-rules.pro"))
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Vendored
+11
@@ -0,0 +1,11 @@
|
||||
-keep class com.github.javakeyring.** { *; }
|
||||
-dontwarn com.github.javakeyring.**
|
||||
|
||||
-keep class com.sun.jna.** { *; }
|
||||
-dontwarn com.sun.jna.**
|
||||
-keepclassmembers class * extends com.sun.jna.Structure {
|
||||
*** *;
|
||||
}
|
||||
-keepclassmembers class * extends com.sun.jna.Callback {
|
||||
*** *;
|
||||
}
|
||||
Reference in New Issue
Block a user