[TIMOB-28455] Android: Update gradle build tools to 4.2.x
GitHub Issue | n/a |
---|---|
Type | Improvement |
Priority | Medium |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2021-05-28T12:34:45.000+0000 |
Affected Version/s | n/a |
Fix Version/s | Release 10.0.1 |
Components | Android |
Labels | android, build, gradle |
Reporter | Joshua Quick |
Assignee | Joshua Quick |
Created | 2021-05-19T02:31:00.000+0000 |
Updated | 2021-05-28T12:34:56.000+0000 |
Description
*Summary:*
Titanium currently builds with "com.android.tools.build:gradle" tool version
4.1.2
.
We should update it to 4.2.1
.
https://developer.android.com/studio/releases/gradle-plugin#4-2-0
*To-Do:*
We must update the following files...
https://github.com/appcelerator/titanium_mobile/blob/master/android/build.gradle
https://github.com/appcelerator/titanium_mobile/blob/master/android/templates/build/root.build.gradle
In folder titanium_mobile/android
, we must execute below command line to upgrade gradle wrapper library to version [6.9](https://docs.gradle.org/6.9/release-notes.html).
./gradlew wrapper --distribution-type all --gradle-version 6.9
*Note:*
You must use Android Studio 4.2.x to build the Titanium SDK after this change.
PR (master): https://github.com/appcelerator/titanium_mobile/pull/12821
merged to master, backport PR for 10_0_X in progress.
10_0_X PR merged