Skip to content

Commit cd5041a

Browse files
Merge pull request #457 from CommonWealthRobotics/kh/java21-in-ci
Kh/java21 in ci
2 parents 7220822 + 81bbe5b commit cd5041a

File tree

8 files changed

+225
-164
lines changed

8 files changed

+225
-164
lines changed

.github/workflows/release.yml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -42,14 +42,10 @@ jobs:
4242
- name: start xvfb
4343
run:
4444
Xvfb :99 &
45-
4645
- name: initialize the X11 DISPLAY variable
4746
run:
4847
export DISPLAY=:99
4948

50-
- name: Pull a JavaFX JDK
51-
run: wget https://cdn.azul.com/zulu/bin/zulu21.46.19-ca-fx-jdk21.0.9-linux_x64.tar.gz
52-
5349
- name: After JDK download, list directory contnts
5450
run: pwd; ls -la
5551

build.gradle

Lines changed: 18 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ buildscript {
1212
]
1313
}
1414
dependencies {
15-
classpath 'com.github.jengelman.gradle.plugins:shadow:5.1.0'
15+
classpath 'com.gradleup.shadow:shadow-gradle-plugin:8.3.9'
1616
}
1717
}
1818

@@ -75,9 +75,9 @@ plugins {
7575
id 'application'
7676
id 'eclipse'
7777
}
78-
apply plugin: 'com.github.johnrengelman.shadow'
7978
if (project == rootProject) {
8079
apply plugin: 'application'
80+
apply plugin: 'com.gradleup.shadow'
8181
}else {
8282
apply plugin: 'java-library'
8383
}
@@ -436,17 +436,21 @@ eclipse{
436436
}
437437
}
438438
}
439+
if (project == rootProject) {
439440
shadowJar {
440-
zip64 true
441-
mainClassName = 'com.neuronrobotics.bowlerstudio.BowlerStudio'
442-
if (project == rootProject) {
443-
baseName = 'BowlerStudio'
444-
classifier = ""
445-
}else {
446-
archiveBaseName.set('BowlerStudio')
447-
archiveClassifier.set('')
448-
archiveVersion.set('')
449-
}
450-
mergeServiceFiles()
451-
}
441+
zip64 true
442+
mainClassName = 'com.neuronrobotics.bowlerstudio.BowlerStudio'
443+
444+
if (project == rootProject) {
445+
archiveBaseName.set('BowlerStudio')
446+
archiveClassifier.set('')
447+
archiveVersion.set('')
448+
} else {
449+
archiveBaseName.set('BowlerStudio')
450+
archiveClassifier.set('')
451+
archiveVersion.set('')
452+
}
452453

454+
mergeServiceFiles()
455+
}
456+
}

gradle/wrapper/gradle-wrapper.jar

-14.6 KB
Binary file not shown.
Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
distributionBase=GRADLE_USER_HOME
22
distributionPath=wrapper/dists
3-
distributionUrl=https\://services.gradle.org/distributions/gradle-6.2-bin.zip
3+
distributionUrl=https\://services.gradle.org/distributions/gradle-8.13-bin.zip
4+
networkTimeout=10000
5+
validateDistributionUrl=true
46
zipStoreBase=GRADLE_USER_HOME
57
zipStorePath=wrapper/dists

0 commit comments

Comments
 (0)