88
88
<mkdir dir =" ${ project.bin } " />
89
89
<mkdir dir =" ${ project.libs } " />
90
90
<mkdir dir =" ${ project.libs } /windows-amd64" />
91
- <mkdir dir =" ${ project.libs } /macos-universal" />
91
+ <mkdir dir =" ${ project.libs } /macos-x86_64" />
92
+ <mkdir dir =" ${ project.libs } /macos-aarch64" />
92
93
<mkdir dir =" ${ project.libs } /linux-amd64" />
93
94
<mkdir dir =" ${ project.libs } /linux-arm" />
94
95
<mkdir dir =" ${ project.libs } /linux-aarch64" />
127
128
128
129
<get dest =" ${ project.libs } /linux-arm" skipexisting =" true" ignoreerrors =" true" >
129
130
<url
130
- url =" https://jogamp.org/deployment/v2.5.0/jar /gluegen-rt-natives-linux-armv6hf.jar" />
131
+ url =" ${ jogl.url } /gluegen-rt-natives-linux-armv6hf.jar" />
131
132
<url
132
- url =" https://jogamp.org/deployment/v2.5.0/jar/ jogl-all-natives-linux-armv6hf.jar" />
133
+ url =" ${ jogl.url } jogl-all-natives-linux-armv6hf.jar" />
133
134
</get >
134
135
135
136
<get dest =" ${ project.libs } /linux-aarch64" skipexisting =" true" ignoreerrors =" true" >
136
137
<url
137
- url =" https://jogamp.org/deployment/v2.5.0/jar /gluegen-rt-natives-linux-aarch64.jar" />
138
+ url =" ${ jogl.url } /gluegen-rt-natives-linux-aarch64.jar" />
138
139
<url
139
- url =" https://jogamp.org/deployment/v2.5.0/jar /jogl-all-natives-linux-aarch64.jar" />
140
+ url =" ${ jogl.url } /jogl-all-natives-linux-aarch64.jar" />
140
141
</get >
141
142
142
143
<get dest =" ${ project.libs } /windows-amd64" skipexisting =" true" ignoreerrors =" true" >
143
144
<url
144
- url =" https://jogamp.org/deployment/v2.5.0/jar /gluegen-rt-natives-windows-amd64.jar" />
145
+ url =" ${ jogl.url } /gluegen-rt-natives-windows-amd64.jar" />
145
146
<url
146
- url =" https://jogamp.org/deployment/v2.5.0/jar /jogl-all-natives-windows-amd64.jar" />
147
+ url =" ${ jogl.url } /jogl-all-natives-windows-amd64.jar" />
147
148
</get >
148
149
149
- <get dest =" ${ project.libs } /macos-universal " skipexisting =" true" ignoreerrors =" true" >
150
+ <get dest =" ${ project.libs } /macos-x86_64 " skipexisting =" true" ignoreerrors =" true" >
150
151
<url
151
- url =" https://jogamp.org/deployment/v2.5.0/jar/ gluegen-rt-natives-macosx-universal .jar" />
152
+ url =" ${ jogl.url } / gluegen-rt-natives-macosx-x86_64 .jar" />
152
153
<url
153
- url =" https://jogamp.org/deployment/v2.5.0/jar/jogl-all-natives-macosx-universal.jar" />
154
+ url =" ${ jogl.url } /jogl-all-natives-macosx-x86_64.jar" />
155
+ </get >
156
+
157
+ <get dest =" ${ project.libs } /macos-aarch64" skipexisting =" true" ignoreerrors =" true" >
158
+ <url
159
+ url =" ${ jogl.url } /gluegen-rt-natives-macos-aarch64.jar" />
160
+ <url
161
+ url =" ${ jogl.url } /jogl-all-natives-macos-aarch64.jar" />
154
162
</get >
155
163
156
164
<if >
297
305
</jar >
298
306
299
307
<jar
300
- jarfile =" ${ project.tmp } /${ project.name } /${ folder } /${ project.jar.name } -macos-universal.jar"
308
+ jarfile =" ${ project.tmp } /${ project.name } /${ folder } /${ project.jar.name } -macos-x86_64.jar"
309
+ basedir =" ${ project.bin } " >
310
+ <zipgroupfileset dir =" ${ project.libs } " includes =" *.jar" />
311
+ <zipgroupfileset dir =" ${ project.libs } /macos-x86_64" includes =" *.jar" />
312
+ <manifest >
313
+ <attribute name =" Class-Path" value =" ${ project.libs } " />
314
+ <!-- Information about the program itself -->
315
+ <attribute name =" Implementation-Vendor" value =" ${ author.name } " />
316
+ <attribute name =" Implementation-Title" value =" ${ project.prettyName } " />
317
+ <attribute name =" Implementation-Version" value =" ${ library.version } " />
318
+ </manifest >
319
+ </jar >
320
+
321
+ <jar
322
+ jarfile =" ${ project.tmp } /${ project.name } /${ folder } /${ project.jar.name } -macos-aarch64.jar"
301
323
basedir =" ${ project.bin } " >
302
324
<zipgroupfileset dir =" ${ project.libs } " includes =" *.jar" />
303
- <zipgroupfileset dir =" ${ project.libs } /macos-universal " includes =" *.jar" />
325
+ <zipgroupfileset dir =" ${ project.libs } /macos-aarch64 " includes =" *.jar" />
304
326
<manifest >
305
327
<attribute name =" Class-Path" value =" ${ project.libs } " />
306
328
<!-- Information about the program itself -->
356
378
file =" ${ project.dist.version } /tmp/${ project.name } /library/${ project.jar.name } -linux-aarch64.jar"
357
379
todir =" ${ project.dist } " />
358
380
<move
359
- file =" ${ project.dist.version } /tmp/${ project.name } /library/${ project.jar.name } -macos-universal.jar"
381
+ file =" ${ project.dist.version } /tmp/${ project.name } /library/${ project.jar.name } -macos-x86_64.jar"
382
+ todir =" ${ project.dist } " />
383
+ <move
384
+ file =" ${ project.dist.version } /tmp/${ project.name } /library/${ project.jar.name } -macos-aarch64.jar"
360
385
todir =" ${ project.dist } " />
361
386
362
387
<copy file =" resources/index.html" todir =" ${ project.dist } " />
378
403
</echo >
379
404
</target >
380
405
381
- </project >
406
+ </project >
0 commit comments