mirror of
https://github.com/AsamK/signal-cli
synced 2025-08-29 02:20:39 +00:00
parent
a2900085c9
commit
4fd9e55c3c
1 changed files with 3 additions and 1 deletions
|
@ -24,6 +24,7 @@ java {
|
||||||
|
|
||||||
application {
|
application {
|
||||||
mainClass.set("org.asamk.signal.Main")
|
mainClass.set("org.asamk.signal.Main")
|
||||||
|
applicationDefaultJvmArgs = listOf("--enable-native-access=ALL-UNNAMED")
|
||||||
}
|
}
|
||||||
|
|
||||||
graalvmNative {
|
graalvmNative {
|
||||||
|
@ -112,7 +113,8 @@ tasks.withType<Jar> {
|
||||||
attributes(
|
attributes(
|
||||||
"Implementation-Title" to project.name,
|
"Implementation-Title" to project.name,
|
||||||
"Implementation-Version" to project.version,
|
"Implementation-Version" to project.version,
|
||||||
"Main-Class" to application.mainClass.get()
|
"Main-Class" to application.mainClass.get(),
|
||||||
|
"Enable-Native-Access" to "ALL-UNNAMED",
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue