Skip to content

Commit 768f134

Browse files
authored
chore(deps): Update Gradle Wrapper 9.2.0 to 9.2.1 (#92)
- Update Gradle Wrapper to 9.2.1 and add checksum for validation - Refine GitHub Workflows to leverage the Gradle caching from the Setup Gradle action instead of Setup Java - Remove redundant Gradle Wrapper Validation workflow since it's already performed by Setup Gradle action - Optimize Git checkout operations in GitHub Workflows so that only the current branch is downloaded Signed-off-by: Thomas Vitale <[email protected]>
1 parent 82d3c4b commit 768f134

File tree

9 files changed

+23
-18
lines changed

9 files changed

+23
-18
lines changed

.github/workflows/build.yml

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,8 @@ jobs:
5353
name: jvm-build-test-${{ matrix.module }}-java${{ matrix.java }}
5454
steps:
5555
- uses: actions/checkout@v6
56+
with:
57+
fetch-depth: 0
5658

5759
- name: Reclaim disk space
5860
working-directory: .github
@@ -64,7 +66,6 @@ jobs:
6466
with:
6567
java-version: ${{ matrix.java }}
6668
distribution: temurin
67-
cache: gradle
6869

6970
- name: Setup Gradle
7071
uses: gradle/actions/setup-gradle@v5
@@ -86,6 +87,8 @@ jobs:
8687
- 25
8788
steps:
8889
- uses: actions/checkout@v6
90+
with:
91+
fetch-depth: 0
8992

9093
- name: Reclaim disk space
9194
working-directory: .github/scripts
@@ -97,7 +100,6 @@ jobs:
97100
with:
98101
java-version: ${{ matrix.java }}
99102
distribution: temurin
100-
cache: gradle
101103

102104
- name: Setup Gradle
103105
uses: gradle/actions/setup-gradle@v5
@@ -137,7 +139,9 @@ jobs:
137139
with:
138140
java-version: 25
139141
distribution: temurin
140-
cache: gradle
142+
143+
- name: Setup Gradle
144+
uses: gradle/actions/setup-gradle@v5
141145

142146
- name: Generate documentation
143147
run: ./gradlew --console=plain clean :docs:build

.github/workflows/dependency-submission.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,8 @@ jobs:
1414
steps:
1515
- name: Checkout sources
1616
uses: actions/checkout@v6
17+
with:
18+
fetch-depth: 0
1719

1820
- name: Setup Java
1921
uses: actions/setup-java@v5

.github/workflows/docs.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,8 @@ jobs:
3232
url: ${{ steps.deployment.outputs.page_url }}
3333
steps:
3434
- uses: actions/checkout@v6
35+
with:
36+
fetch-depth: 0
3537

3638
- name: Setup Python
3739
uses: actions/setup-python@v6
@@ -43,7 +45,9 @@ jobs:
4345
with:
4446
java-version: 21
4547
distribution: temurin
46-
cache: gradle
48+
49+
- name: Setup Gradle
50+
uses: gradle/actions/setup-gradle@v5
4751

4852
- name: Download existing GitHub Pages artifact
4953
continue-on-error: true

.github/workflows/gradle-wrapper-validation.yml

Lines changed: 0 additions & 11 deletions
This file was deleted.

.github/workflows/release.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,6 @@ jobs:
8585
with:
8686
java-version: ${{ env.JAVA_VERSION }}
8787
distribution: temurin
88-
cache: gradle
8988

9089
- name: Setup Gradle
9190
uses: gradle/actions/setup-gradle@v5

.github/workflows/version-tests.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,8 @@ jobs:
6060
if: github.repository == 'docling-project/docling-java'
6161
steps:
6262
- uses: actions/checkout@v6
63+
with:
64+
fetch-depth: 0
6365

6466
- name: Reclaim disk space
6567
working-directory: .github/scripts
@@ -90,7 +92,9 @@ jobs:
9092
with:
9193
java-version: ${{ env.JAVA_VERSION }}
9294
distribution: temurin
93-
cache: gradle
95+
96+
- name: Setup Gradle
97+
uses: gradle/actions/setup-gradle@v5
9498

9599
- name: Build version tester
96100
run: ./gradlew --no-daemon -Pjava.version=${{ env.JAVA_VERSION }} :docling-version-tests:build

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,3 +10,4 @@ build
1010
/docs/src/doc/mkdocs-customizations/macros/__pycache__
1111

1212
.DS_Store
13+
.log

buildSrc/.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
.kotlin
Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
distributionBase=GRADLE_USER_HOME
22
distributionPath=wrapper/dists
3-
distributionUrl=https\://services.gradle.org/distributions/gradle-9.2.0-bin.zip
3+
distributionUrl=https\://services.gradle.org/distributions/gradle-9.2.1-bin.zip
44
networkTimeout=10000
55
validateDistributionUrl=true
66
zipStoreBase=GRADLE_USER_HOME
77
zipStorePath=wrapper/dists
8+
distributionSha256Sum=72f44c9f8ebcb1af43838f45ee5c4aa9c5444898b3468ab3f4af7b6076c5bc3f

0 commit comments

Comments
 (0)