Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(android): handle missing Gradle patch version number #1631

Merged
merged 1 commit into from
Oct 9, 2023

Conversation

tido64
Copy link
Member

@tido64 tido64 commented Oct 9, 2023

Description

Handle missing Gradle patch version number when using versions like 8.0, 8.1 and so on.

Also bump Gradle version used when building nightlies.

Platforms affected

  • Android
  • iOS
  • macOS
  • Windows

Test plan

Bump Gradle to 8.0:

diff --git a/example/android/gradle/wrapper/gradle-wrapper.properties b/example/android/gradle/wrapper/gradle-wrapper.properties
index 4e86b92..42defcc 100644
--- a/example/android/gradle/wrapper/gradle-wrapper.properties
+++ b/example/android/gradle/wrapper/gradle-wrapper.properties
@@ -1,6 +1,6 @@
 distributionBase=GRADLE_USER_HOME
 distributionPath=wrapper/dists
-distributionUrl=https\://services.gradle.org/distributions/gradle-7.6.2-bin.zip
+distributionUrl=https\://services.gradle.org/distributions/gradle-8.0-bin.zip
 networkTimeout=10000
 zipStoreBase=GRADLE_USER_HOME
 zipStorePath=wrapper/dists

Build Android app:

cd example/android
./gradlew clean assembleDebug

Also bump Gradle version used when building nightlies.
@tido64 tido64 requested a review from kelset October 9, 2023 07:57
@github-actions github-actions bot added the platform: Android This affects Android label Oct 9, 2023
--- a/example/android/gradle/wrapper/gradle-wrapper.properties
+++ b/example/android/gradle/wrapper/gradle-wrapper.properties
@@ -1,6 +1,6 @@
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
-distributionUrl=https\://services.gradle.org/distributions/gradle-7.6.2-bin.zip
+distributionUrl=https\://services.gradle.org/distributions/gradle-8.1.1-bin.zip
+distributionUrl=https\://services.gradle.org/distributions/gradle-8.4-bin.zip
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit: just flagging, making sure you want to keep the 8.4 around (might be GH messing things up)

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Contributor

@kelset kelset left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

with 8.0 as gradle version, can confirm that it builds correctly 👍

@tido64 tido64 merged commit 74b6a6f into trunk Oct 9, 2023
27 checks passed
@tido64 tido64 deleted the tido/fix-gradle-version branch October 9, 2023 12:08
@tido64 tido64 mentioned this pull request Oct 10, 2023
18 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
platform: Android This affects Android
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants