Skip to content

Commit 1997903

Browse files
committed
🏷️ Bump Gradle version
1 parent 56e96d1 commit 1997903

15 files changed

Lines changed: 383 additions & 339 deletions

File tree

.github/workflows/native-image.yml

Lines changed: 1 addition & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -47,26 +47,7 @@ jobs:
4747
github-token: ${{ secrets.GITHUB_TOKEN }}
4848
native-image-job-reports: true
4949
native-image-musl: true
50-
51-
- uses: actions/cache@v4
52-
name: Maven Cache
53-
if: inputs.app-java-builder == 'maven'
54-
with:
55-
path: ~/.m2/repository
56-
key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
57-
restore-keys: |
58-
${{ runner.os }}-maven-
59-
60-
- uses: actions/cache@v4
61-
name: Gradle Cache
62-
if: inputs.app-java-builder == 'gradle'
63-
with:
64-
path: |
65-
~/.gradle/caches
66-
~/.gradle/wrapper
67-
key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle*', '**/gradle-wrapper.properties') }}
68-
restore-keys: |
69-
${{ runner.os }}-gradle-
50+
cache: ${{ inputs.app-java-builder }}
7051

7152
- name: Build native Image
7253
run: |

.gitpod.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ tasks:
2828
init: |
2929
docker compose -f compose.lgtm.yml up -d --wait
3030
- name: Setup MUSL Toolchain (statically linked applications with Native Image)
31-
command: |
31+
init: |
3232
bash scripts/setup-musl.sh
3333
3434
vscode:

03-quarkus-cli/Makefile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,14 +7,14 @@ run-native: ## Launch Native Application
77
@./build/quarkus-cli-1.0-runner
88

99
build-native-image: ## Build the native image - The native image generated is highly dependent on the OS on which the command is run (GraalVM is installed on this OS)
10-
@./gradlew build -Dquarkus.package.type=native -Dquarkus.native.additional-build-args="--enable-sbom=classpath","--emit=build-report","-Ob"
10+
@./gradlew build -Dquarkus.native.enabled=true -Dquarkus.package.jar.enabled=false -Dquarkus.native.additional-build-args="--enable-sbom=classpath","--emit=build-report","-Ob"
1111
@cp ./build/quarkus-cli-1.0-runner hello
1212

1313
build-native-image-static: ## Build the native image - In Static Link Mode
14-
@./gradlew build -Dquarkus.package.type=native -Dquarkus.native.additional-build-args="--enable-sbom=classpath","--static","--libc=musl","-H:BuildOutputJSONFile=/tmp/native-image-build-output.json","--emit=build-report","-Ob"
14+
@./gradlew build -Dquarkus.native.enabled=true -Dquarkus.package.jar.enabled=false -Dquarkus.native.additional-build-args="--enable-sbom=classpath","--static","--libc=musl","-H:BuildOutputJSONFile=/tmp/native-image-build-output.json","--emit=build-report","-Ob"
1515

1616
build-native-image-static-ci: ## Build the native image - In Static Link Mode
17-
@./gradlew build -Dquarkus.package.type=native -Dquarkus.native.additional-build-args="--enable-sbom=classpath","--static","--libc=musl","-H:BuildOutputJSONFile=/tmp/native-image-build-output.json","--emit=build-report"
17+
@./gradlew build -Dquarkus.native.enabled=true -Dquarkus.package.jar.enabled=false -Dquarkus.native.additional-build-args="--enable-sbom=classpath","--static","--libc=musl","-H:BuildOutputJSONFile=/tmp/native-image-build-output.json","--emit=build-report"
1818

1919
generate-sbom-native-with-syft: ## Extraction of the SBOM embedded in the native executable, using the syft tool
2020
@syft packages -o json=quarkus-cli-sbom.json build/quarkus-cli-1.0-runner

03-quarkus-cli/build.gradle.kts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,8 @@ group = "me.nzuguem"
2323
version = "1.0"
2424

2525
java {
26-
sourceCompatibility = JavaVersion.VERSION_23
27-
targetCompatibility = JavaVersion.VERSION_23
26+
sourceCompatibility = JavaVersion.VERSION_24
27+
targetCompatibility = JavaVersion.VERSION_24
2828
}
2929

3030
tasks.withType<Test> {
-15 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-8.10.1-bin.zip
3+
distributionUrl=https\://services.gradle.org/distributions/gradle-8.14-rc-3-bin.zip
4+
networkTimeout=10000
5+
validateDistributionUrl=true
46
zipStoreBase=GRADLE_USER_HOME
57
zipStorePath=wrapper/dists

0 commit comments

Comments
 (0)