Skip to content

Commit 731debd

Browse files
authored
Bump Gradle to 8.2.1 (#232)
* Bump Gradle to 8.2.1 * Bump Gradle to 8.2.1 --------- Co-authored-by: hfhbd <[email protected]>
1 parent ef9eca2 commit 731debd

File tree

9 files changed

+30
-9
lines changed

9 files changed

+30
-9
lines changed

.github/workflows/CD.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,12 +22,11 @@ jobs:
2222
- name: Set environment for version
2323
run: long="${{ github.ref }}"; version=${long#"refs/tags/v"}; echo "version=${version}" >> $GITHUB_ENV
2424
- uses: actions/checkout@v3
25-
- uses: gradle/wrapper-validation-action@v1
2625
- uses: actions/setup-java@v3
2726
with:
2827
distribution: 'adopt'
2928
java-version: 11
30-
- uses: gradle/gradle-build-action@v2
29+
- uses: gradle/gradle-build-action@v2
3130
- name: Build with Gradle
3231
run: ./gradlew build
3332
- name: Publish

.github/workflows/CI.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,12 +17,14 @@ jobs:
1717

1818
steps:
1919
- uses: actions/checkout@v3
20-
- uses: gradle/wrapper-validation-action@v1
2120
- uses: gradle/gradle-build-action@v2
21+
with:
22+
dependency-graph: generate-and-submit
23+
gradle-home-cache-cleanup: true
2224
- name: Build with Gradle
2325
run: ./gradlew build
2426
- name: Upload SARIF to Github using the upload-sarif action
2527
uses: github/codeql-action/upload-sarif@v2
2628
if: success() || failure()
2729
with:
28-
sarif_file: build/reports/detekt/detekt.sarif
30+
sarif_file: build/reports/detekt/detekt.sarif

.github/workflows/Docs.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,6 @@ jobs:
2323
steps:
2424
- uses: actions/configure-pages@v3
2525
- uses: actions/checkout@v3
26-
- uses: gradle/wrapper-validation-action@v1
2726
- uses: gradle/gradle-build-action@v2
2827
- name: Generate Docs
2928
run: ./gradlew dokkaHtmlMultiModule

.github/workflows/gradleWrapper.yml

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
name: Gradle Wrapper Validation
2+
3+
on:
4+
pull_request:
5+
paths:
6+
- 'gradlew'
7+
- 'gradlew.bat'
8+
- 'gradle/wrapper/'
9+
10+
jobs:
11+
validateWrapper:
12+
runs-on: ubuntu-latest
13+
permissions:
14+
contents: read
15+
16+
steps:
17+
- uses: actions/checkout@v3
18+
- uses: gradle/wrapper-validation-action@v1

gradle/build-logic/build.gradle.kts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,5 +12,3 @@ dependencies {
1212
implementation(libs.kover)
1313
implementation(libs.detekt)
1414
}
15-
16-
kotlin.jvmToolchain(11)

gradle/wrapper/gradle-wrapper.jar

1.27 KB
Binary file not shown.
Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
distributionBase=GRADLE_USER_HOME
22
distributionPath=wrapper/dists
3-
distributionUrl=https\://services.gradle.org/distributions/gradle-8.1.1-bin.zip
3+
distributionUrl=https\://services.gradle.org/distributions/gradle-8.2.1-bin.zip
44
networkTimeout=10000
5+
validateDistributionUrl=true
56
zipStoreBase=GRADLE_USER_HOME
67
zipStorePath=wrapper/dists

gradlew

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,10 +130,13 @@ location of your Java installation."
130130
fi
131131
else
132132
JAVACMD=java
133-
which java >/dev/null 2>&1 || die "ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH.
133+
if ! command -v java >/dev/null 2>&1
134+
then
135+
die "ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH.
134136
135137
Please set the JAVA_HOME variable in your environment to match the
136138
location of your Java installation."
139+
fi
137140
fi
138141

139142
# Increase the maximum file descriptors if we can.

kotlinx-uuid-exposed/build.gradle.kts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ plugins {
99
id("publish")
1010
}
1111

12+
kotlin.jvmToolchain(11)
1213

1314
dependencies {
1415
api(projects.kotlinxUuidCore)

0 commit comments

Comments
 (0)