Skip to content

Commit a16aa04

Browse files
committed
update the Gradle build tool to v9.0.0, JDK 17+ required to build
1 parent 1917448 commit a16aa04

File tree

6 files changed

+6
-18
lines changed

6 files changed

+6
-18
lines changed

.github/workflows/push.yml

Lines changed: 2 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -5,25 +5,14 @@ name: CI at GitHub
55
on: [push]
66

77
jobs:
8-
Java8-Linux:
9-
if: contains(toJson(github.event.commits), '[ci skip] ') == false
10-
runs-on: ubuntu-22.04
11-
steps:
12-
- uses: actions/setup-java@v4
13-
with:
14-
distribution: 'zulu'
15-
java-version: 8
16-
- uses: actions/checkout@v5
17-
- run: ./gradlew build javadoc install --console=plain --stacktrace
18-
19-
Java11-Linux:
8+
Java17-Linux:
209
if: contains(toJson(github.event.commits), '[ci skip] ') == false
2110
runs-on: ubuntu-24.04
2211
steps:
2312
- uses: actions/setup-java@v4
2413
with:
2514
distribution: 'zulu'
26-
java-version: 11
15+
java-version: 17
2716
- uses: actions/checkout@v5
2817
- uses: gradle/actions/wrapper-validation@v4
2918
- run: ./gradlew build javadoc install --console=plain --stacktrace

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -106,6 +106,7 @@ Add to the project’s "pom.xml" file:
106106
## How to build Garrett from source
107107

108108
1. Install a [Java Development Kit (JDK)][adoptium],
109+
version 17 or higher,
109110
if you don't already have one.
110111
2. Point the `JAVA_HOME` environment variable to your JDK installation:
111112
(In other words, set it to the path of a directory/folder

common.gradle

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,5 @@ tasks.withType(JavaCompile).configureEach { // Java compile-time options:
2121
options.compilerArgs << '-Xlint:unchecked'
2222
options.deprecation = true // to provide detailed deprecation warnings
2323
options.encoding = 'UTF-8'
24-
if (JavaVersion.current().isCompatibleWith(JavaVersion.VERSION_1_10)) {
25-
options.release = 8
26-
}
24+
options.release = 8
2725
}

gradle/wrapper/gradle-wrapper.jar

1.65 KB
Binary file not shown.

gradle/wrapper/gradle-wrapper.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
distributionBase=GRADLE_USER_HOME
22
distributionPath=wrapper/dists
3-
distributionUrl=https\://services.gradle.org/distributions/gradle-8.14.3-bin.zip
3+
distributionUrl=https\://services.gradle.org/distributions/gradle-9.0.0-bin.zip
44
networkTimeout=10000
55
validateDistributionUrl=true
66
zipStoreBase=GRADLE_USER_HOME

gradlew

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)