mirror of
https://github.com/gotson/komga.git
synced 2026-05-08 21:00:16 +02:00
build: add enable native access attribute to jar manifest
This commit is contained in:
parent
5f9cc449b7
commit
860274079d
1 changed files with 7 additions and 0 deletions
|
|
@ -1,3 +1,4 @@
|
|||
|
||||
import nu.studer.gradle.jooq.JooqGenerate
|
||||
import org.apache.tools.ant.taskdefs.condition.Os
|
||||
import org.flywaydb.gradle.task.FlywayMigrateTask
|
||||
|
|
@ -156,6 +157,12 @@ tasks {
|
|||
maxHeapSize = "1G"
|
||||
}
|
||||
|
||||
withType<Jar> {
|
||||
manifest {
|
||||
attributes("Enable-Native-Access" to "ALL-UNNAMED")
|
||||
}
|
||||
}
|
||||
|
||||
getByName<Jar>("jar") {
|
||||
enabled = true
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue