added native-image plugin

This commit is contained in:
2023-10-05 21:33:54 +08:00
parent 70123e1c08
commit 16d2bffde6
37 changed files with 290 additions and 60 deletions

View File

@@ -2,6 +2,7 @@ plugins {
id 'java-library'
alias(catalog.plugins.lombok)
alias(catalog.plugins.envelope)
alias(catalog.plugins.native.image)
}
repositories {
@@ -12,7 +13,10 @@ dependencies {
implementation project(':jmath')
}
envelopeJar {
application {
mainClass = 'net.woggioni.jmath.benchmark.Main'
}
configureNativeImage {
args('20')
}

View File

@@ -0,0 +1,2 @@
[
]

View File

@@ -0,0 +1 @@
Args=-H:Optimize=3 --initialize-at-build-time=net.woggioni.jmath.benchmark.Main

View File

@@ -0,0 +1,8 @@
[
{
"type":"agent-extracted",
"classes":[
]
}
]

View File

@@ -0,0 +1,2 @@
[
]

View File

@@ -0,0 +1,2 @@
[
]

View File

@@ -0,0 +1,5 @@
{
"resources":{
"includes":[]},
"bundles":[]
}

View File

@@ -0,0 +1,8 @@
{
"types":[
],
"lambdaCapturingTypes":[
],
"proxies":[
]
}