forked from RSPSi/RSPSi
-
Notifications
You must be signed in to change notification settings - Fork 17
/
Copy pathbuild.gradle
68 lines (48 loc) · 1.69 KB
/
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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
plugins {
id 'io.franzbecker.gradle-lombok' version '5.0.0'
id "com.github.johnrengelman.shadow" version "8.1.1" apply false
id 'application'
id 'java-library'
id 'org.beryx.runtime' version '1.13.0' apply false
id 'org.openjfx.javafxplugin' version '0.1.0'
}
wrapper {
gradleVersion = '8.5'
}
group = 'RSPSi Editor'
version = '1.16.1'
allprojects {
repositories {
mavenCentral()
mavenLocal()
maven { url "https://repo.maven.apache.org/maven2" }
maven { url "https://repo.adobe.com/nexus/content/repositories/public/" }
}
}
subprojects {
apply plugin: 'java-library'
apply plugin: 'io.franzbecker.gradle-lombok'
sourceCompatibility = JavaVersion.VERSION_17
targetCompatibility = JavaVersion.VERSION_17
dependencies {
// https://mvnrepository.com/artifact/com.google.code.gson/gson
api group: 'ch.qos.logback', name: 'logback-classic', version: '1.2.10'
// https://mvnrepository.com/artifact/org.checkerframework/checker-qual
api group: 'org.checkerframework', name: 'checker-qual', version: '3.21.1'
api group: 'com.google.guava', name: 'guava', version: '31.0.1-jre'
api group: 'com.google.code.gson', name: 'gson', version: '2.8.9'
api 'javax.servlet:javax.servlet-api:4.0.1'
}
lombok { // optional: values below are the defaults
version = "1.18.22"
}
compileJava {
options.fork = true
options.incremental = true
}
apply plugin: 'org.openjfx.javafxplugin'
javafx {
version = "17"
modules = ['javafx.base', 'javafx.fxml', 'javafx.graphics', 'javafx.controls', 'javafx.media', 'javafx.swing']
}
}