-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathbuild.gradle
37 lines (32 loc) · 907 Bytes
/
build.gradle
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
plugins {
id 'base'
id 'org.openjfx.javafxplugin' version '0.1.0'
id 'com.gluonhq.gluonfx-gradle-plugin' version '1.0.22' apply false
}
ext.libraryVersions = [
attach: '4.0.20',
glisten: '6.2.3',
javafx : '21.0.2'
]
subprojects {
apply plugin: 'application'
apply plugin: 'com.gluonhq.gluonfx-gradle-plugin'
configure([project(':HelloFX'), project(':HelloFXML'), project(':HelloGluon')]) {
apply plugin: 'org.openjfx.javafxplugin'
}
repositories {
mavenCentral()
maven {
url 'https://nexus.gluonhq.com/nexus/content/repositories/releases'
}
maven {
url 'https://oss.sonatype.org/content/repositories/snapshots'
}
}
gluonfx {
target = 'host'
if (project.hasProperty('target')) {
target = project.getProperty('target')
}
}
}