Skip to content

Commit

Permalink
Update to Gradle 8.8 (#376)
Browse files Browse the repository at this point in the history
* Update to Gradle 8.8

* Update actions
  • Loading branch information
vanshg authored Jun 5, 2024
1 parent 39bd4b8 commit 07bc4b8
Show file tree
Hide file tree
Showing 7 changed files with 15 additions and 15 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -34,11 +34,11 @@ jobs:
echo "Version $VERSION does not contain -SNAPSHOT"
echo "version=$VERSION-SNAPSHOT" >> $GITHUB_OUTPUT
fi
- name: Build, Test, Lint, Assemble, Publish Snapshot
- name: Setup Gradle
uses: gradle/actions/setup-gradle@v3
with:
# NB! The "lint" gradle action here is different than ktLint
arguments: lint build assembleDebug publish
- name: Build, Test, Lint, Assemble, Publish Snapshot
# NB! The "lint" gradle action here is different than ktLint
run: ./gradlew lint build assembleDebug publish
env:
ORG_GRADLE_PROJECT_VERSION_NAME: ${{ steps.version.outputs.version }}
ORG_GRADLE_PROJECT_SENTRY_DSN: ${{ secrets.SENTRY_DSN }}
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/build_app.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -41,10 +41,10 @@ jobs:
fileName: 'upload.jks'
fileDir: './sample'
encodedString: ${{ secrets.UPLOAD_KEYSTORE }}
- name: Assemble
- name: Setup Gradle
uses: gradle/actions/setup-gradle@v3
with:
arguments: bundleRelease
- name: Bundle
run: ./gradlew bundleRelease
env:
ORG_GRADLE_PROJECT_SENTRY_DSN: ${{ secrets.SENTRY_DSN }}
ORG_GRADLE_PROJECT_uploadKeystorePassword: ${{ secrets.UPLOAD_KEYSTORE_PASSWORD }}
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/publish_play_store_update.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -44,10 +44,10 @@ jobs:
VERSION_CODE=$(git rev-list --count HEAD)
echo "Version Code for this build is $VERSION_CODE"
echo "version_code=$VERSION_CODE" >> $GITHUB_OUTPUT
- name: Assemble
- name: Setup Gradle
uses: gradle/actions/setup-gradle@v3
with:
arguments: bundleRelease
- name: Assemble
run: ./gradlew assemble
env:
ORG_GRADLE_PROJECT_VERSION_CODE: ${{ steps.version_code.outputs.version_code }}
ORG_GRADLE_PROJECT_SENTRY_DSN: ${{ secrets.SENTRY_DSN }}
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/release_sdk.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -69,10 +69,10 @@ jobs:
env:
tag: v${{ steps.read_version.outputs.version }}
message: Release v${{ steps.read_version.outputs.version }}
- name: Build, Test, Lint, and Publish
- name: Setup Gradle
uses: gradle/actions/setup-gradle@v3
with:
arguments: lint build assembleRelease publish
- name: Build, Test, Lint, and Publish
run: ./gradlew lint build assembleRelease publish
env:
ORG_GRADLE_PROJECT_VERSION_NAME: ${{ steps.read_version.outputs.version }}
ORG_GRADLE_PROJECT_SENTRY_DSN: ${{ secrets.SENTRY_DSN }}
Expand Down
Binary file modified gradle/wrapper/gradle-wrapper.jar
Binary file not shown.
2 changes: 1 addition & 1 deletion gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-8.7-bin.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-8.8-bin.zip
networkTimeout=10000
validateDistributionUrl=true
zipStoreBase=GRADLE_USER_HOME
Expand Down
2 changes: 1 addition & 1 deletion gradlew
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@
# Darwin, MinGW, and NonStop.
#
# (3) This script is generated from the Groovy template
# https://github.com/gradle/gradle/blob/HEAD/subprojects/plugins/src/main/resources/org/gradle/api/internal/plugins/unixStartScript.txt
# https://github.com/gradle/gradle/blob/HEAD/platforms/jvm/plugins-application/src/main/resources/org/gradle/api/internal/plugins/unixStartScript.txt
# within the Gradle project.
#
# You can find Gradle at https://github.com/gradle/gradle/.
Expand Down

0 comments on commit 07bc4b8

Please sign in to comment.