Skip to content

Commit 92934a6

Browse files
committed
Update build.gradle.kts
1 parent c36f5c7 commit 92934a6

File tree

1 file changed

+9
-8
lines changed

1 file changed

+9
-8
lines changed

app/build.gradle.kts

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -13,14 +13,6 @@ plugins{
1313
}
1414

1515
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-
2416

2517
repositories{
2618
mavenCentral()
@@ -41,6 +33,15 @@ sourceSets{
4133

4234
compose.desktop {
4335
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+
4445
mainClass = "processing.app.ui.Start"
4546

4647
nativeDistributions{

0 commit comments

Comments
 (0)