Skip to content

Commit a3af10c

Browse files
committed
build: added preliminary support for a native build
1 parent b4eedb7 commit a3af10c

File tree

2 files changed

+31
-0
lines changed

2 files changed

+31
-0
lines changed

jreleaser.yml

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,28 @@ assemble:
3636
jars:
3737
- pattern: 'target/binary/lib/*.jar'
3838

39+
nativeImage:
40+
jpm-native:
41+
active: NEVER
42+
java:
43+
version: 22
44+
imageName: '{{distributionName}}-{{projectEffectiveVersion}}'
45+
executable: jpm
46+
mainJar:
47+
path: 'target/jpm-{{projectVersion}}-cli.jar'
48+
graalJdks:
49+
- path: 'C:\Users\tako\.jbang\cache\jdks\22'
50+
platform: 'windows-x86_64'
51+
upx:
52+
active: NEVER
53+
version: '4.2.4'
54+
args:
55+
- '-Duser.language=en'
56+
- '-H:IncludeLocales=en'
57+
- '--no-fallback'
58+
- '--enable-http'
59+
- '--enable-https'
60+
3961
deploy:
4062
maven:
4163
nexus2:
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
{
2+
"bundles" : [
3+
],
4+
"resources": {
5+
"includes": [
6+
{"pattern": "org/apache/maven/model/pom-4\\.0\\.0\\.xml"}
7+
]
8+
}
9+
}

0 commit comments

Comments
 (0)