Skip to content

Commit 408b4cc

Browse files
committed
Updated Gradle to 8.7.
1 parent 345cf81 commit 408b4cc

File tree

6 files changed

+256
-168
lines changed

6 files changed

+256
-168
lines changed

build.gradle

Lines changed: 20 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,21 @@
11
plugins {
22
id 'java'
33
id 'application'
4-
id "org.sonarqube" version "2.7.1"
5-
id 'org.openjfx.javafxplugin' version '0.0.8'
4+
id "org.sonarqube" version "5.0.0.4638"
5+
id 'org.openjfx.javafxplugin' version '0.1.0'
66
}
77

8-
sourceCompatibility = 1.11
9-
targetCompatibility = 1.11
8+
java {
9+
sourceCompatibility = JavaVersion.VERSION_21
10+
targetCompatibility = JavaVersion.VERSION_21
11+
}
1012

1113
repositories {
1214
mavenCentral()
1315
}
1416

1517
javafx {
16-
version = "11"
18+
version = "21"
1719
modules = [ 'javafx.controls', 'javafx.base', 'javafx.fxml', 'javafx.graphics', 'javafx.media']
1820
}
1921

@@ -38,22 +40,22 @@ sourceSets {
3840
sourceSets.test.resources
3941

4042
dependencies {
41-
testCompile group: 'junit', name: 'junit', version: '4.12'
42-
compile group: 'junit', name: 'junit', version: '4.12'
43+
testImplementation group: 'junit', name: 'junit', version: '4.13'
44+
implementation group: 'junit', name: 'junit', version: '4.13'
4345
// Library for JSON
44-
compile group: 'com.googlecode.json-simple', name: 'json-simple', version: '1.1'
46+
implementation group: 'com.googlecode.json-simple', name: 'json-simple', version: '1.1'
4547
// Command line argument parsing
46-
compile group: 'commons-cli', name: 'commons-cli', version: '1.4'
48+
implementation group: 'commons-cli', name: 'commons-cli', version: '1.4'
4749
// Reflect for loading class in the GUI
48-
compile "org.reflections:reflections:0.9.11"
50+
implementation "org.reflections:reflections:0.9.11"
4951
// MongoDB Driver
50-
compile 'org.mongodb:mongodb-driver:3.4.3'
52+
implementation 'org.mongodb:mongodb-driver:3.4.3'
5153
// File IO library for copying directories
52-
compile group: 'org.apache.commons', name: 'commons-io', version: '1.3.2'
54+
implementation group: 'org.apache.commons', name: 'commons-io', version: '1.3.2'
5355
// Library for parsing the java AST
54-
compile 'com.github.javaparser:javaparser-core:3.5.2'
56+
implementation 'com.github.javaparser:javaparser-core:3.5.2'
5557
// YAML parser
56-
compile group: 'org.yaml', name: 'snakeyaml', version: '1.26'
58+
implementation group: 'org.yaml', name: 'snakeyaml', version: '1.26'
5759

5860
// V2 Dependencies
5961
implementation 'info.picocli:picocli:4.2.0'
@@ -70,23 +72,23 @@ mainClassName = 'chalkbox.api.ChalkBox'
7072

7173
javadoc {
7274
source = sourceSets.main.allJava
73-
classpath = configurations.compile
75+
classpath = configurations.implementation
7476
}
7577

7678
jar {
7779
manifest {
7880
attributes 'Main-Class': mainClassName
7981
}
80-
baseName = project.name
82+
archiveBaseName = project.name
8183
}
8284

8385
task fatJar(type: Jar) {
8486
manifest {
8587
attributes 'Main-Class': mainClassName
8688
}
8789
exclude 'META-INF/*.RSA', 'META-INF/*.SF', 'META-INF/*.DSA'
88-
baseName = project.name + '-all'
89-
from { configurations.compile.collect { it.isDirectory() ? it : zipTree(it) } }
90+
archiveBaseName = project.name + '-all'
91+
from { configurations.implementation.collect { it.isDirectory() ? it : zipTree(it) } }
9092
with jar
9193
}
9294

gradle/wrapper/gradle-wrapper.jar

-12.4 KB
Binary file not shown.
Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
1-
#Wed Nov 27 11:23:08 AEST 2019
2-
distributionUrl=https\://services.gradle.org/distributions/gradle-6.3-all.zip
31
distributionBase=GRADLE_USER_HOME
42
distributionPath=wrapper/dists
5-
zipStorePath=wrapper/dists
3+
distributionUrl=https\://services.gradle.org/distributions/gradle-8.7-bin.zip
4+
networkTimeout=10000
5+
validateDistributionUrl=true
66
zipStoreBase=GRADLE_USER_HOME
7+
zipStorePath=wrapper/dists

0 commit comments

Comments
 (0)