@@ -13,14 +13,6 @@ plugins{
13
13
}
14
14
15
15
group = rootProject.group
16
- tasks.withType<JavaExec > {
17
- systemProperty(" processing.version" , version)
18
- systemProperty(" processing.revision" , " 1300" )
19
- systemProperty(" processing.contributions.source" , " https://contributions-preview.processing.org/contribs.txt" )
20
- systemProperty(" processing.download.page" , " https://processing.org/download/" )
21
- systemProperty(" processing.download.latest" , " https://processing.org/download/latest.txt" )
22
- }
23
-
24
16
25
17
repositories{
26
18
mavenCentral()
@@ -41,6 +33,15 @@ sourceSets{
41
33
42
34
compose.desktop {
43
35
application {
36
+ jvmArgs(* listOf (
37
+ Pair (" processing.version" , version),
38
+ Pair (" processing.revision" , " 1300" ),
39
+ Pair (" processing.contributions.source" , " https://contributions-preview.processing.org/contribs.txt" ),
40
+ Pair (" processing.download.page" , " https://processing.org/download/" ),
41
+ Pair (" processing.download.latest" , " https://processing.org/download/latest.txt" ),
42
+ Pair (" processing.tutorials" , " https://processing.org/tutorials/" ),
43
+ ).map { " -D${it.first} =${it.second} " }.toTypedArray())
44
+
44
45
mainClass = " processing.app.ui.Start"
45
46
46
47
nativeDistributions{
0 commit comments