Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-28455] Android: Update gradle build tools to 4.2.x

GitHub Issuen/a
TypeImprovement
PriorityMedium
StatusClosed
ResolutionFixed
Resolution Date2021-05-28T12:34:45.000+0000
Affected Version/sn/a
Fix Version/sRelease 10.0.1
ComponentsAndroid
Labelsandroid, build, gradle
ReporterJoshua Quick
AssigneeJoshua Quick
Created2021-05-19T02:31:00.000+0000
Updated2021-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.

Comments

  1. Joshua Quick 2021-05-19

    PR (master): https://github.com/appcelerator/titanium_mobile/pull/12821
  2. Christopher Williams 2021-05-27

    merged to master, backport PR for 10_0_X in progress.
  3. Ewan Harris 2021-05-28

    10_0_X PR merged

JSON Source