Skip to content

Commit

Permalink
update gradle
Browse files Browse the repository at this point in the history
Signed-off-by: Jordi Deu-Pons <[email protected]>
  • Loading branch information
jordeu committed Sep 23, 2024
1 parent 341685e commit f137b9f
Show file tree
Hide file tree
Showing 9 changed files with 206 additions and 119 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ jobs:
- name: Setup Graalvm
uses: graalvm/setup-graalvm@v1
with:
java-version: 17
java-version: '21'
distribution: 'graalvm'
components: 'native-image'
native-image-musl: 'true'
Expand Down Expand Up @@ -78,9 +78,9 @@ jobs:
uses: actions/download-artifact@v2

- name: Setup Java for JReleaser
uses: actions/setup-java@v1
uses: actions/setup-java@v4
with:
java-version: 17
java-version: '21'

- name: Version
id: version
Expand Down
2 changes: 1 addition & 1 deletion .sdkmanrc
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
# Enable auto-env through the sdkman_auto_env config
# Add key=value pairs of SDKs to use below
java=17.0.8-graalce
java=21.0.4-graal
4 changes: 2 additions & 2 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -91,8 +91,8 @@ task buildInfo {
}

compileJava {
sourceCompatibility = JavaVersion.toVersion("11")
targetCompatibility = JavaVersion.toVersion("11")
sourceCompatibility = JavaVersion.toVersion("21")
targetCompatibility = JavaVersion.toVersion("21")
options.compilerArgs += ["-Aproject=${project.name}"]
dependsOn buildInfo
}
Expand Down
Binary file modified gradle/wrapper/gradle-wrapper.jar
Binary file not shown.
20 changes: 19 additions & 1 deletion gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
@@ -1,5 +1,23 @@
#
# Copyright 2023, Seqera Labs
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
#

distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-7.0-bin.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-8.10-bin.zip
networkTimeout=10000
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
Loading

0 comments on commit f137b9f

Please sign in to comment.