Uploaded image for project: 'Titanium SDK/CLI'
  1. Titanium SDK/CLI
  2. TIMOB-28456

Android: Remove deprecated usage of jcenter() repo from gradle

    Details

    • Story Points:
      1

      Description

      Summary:
      The JCenter repository has been deprecated and their plan is to shut it down by February 1, 2022.
      https://developer.android.com/studio/build/jcenter-migration

      This impacts Android gradle builds which fetch dependencies from this repository. A "build.gradle" script references this repo via the jcenter() function.

      To-Do:
      Replace our usage of jcenter() with mavenCentral() here...
      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

      Breaking-Change:
      Changing our default templates from jcenter() to mavenCentral() might break module builds and hyperloop builds if the developer's "build.gradle" references a dependency that only exists in the deprecated jcenter() repo. If this is the case, then they can restore the deprecated behavior by re-adding the repo to their "build.gradle" as shown below. Just note that this will eventually stop working by February 2022.

      // build.gradle
      repositories {
      	jcenter()
      }
      

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                jquick Joshua Quick
                Reporter:
                jquick Joshua Quick
                Reviewer:
                Gary Mathews
              • Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Backbone Issue Sync

                  • Backbone Issue Sync is enabled for your project, but we do not have any synchronization info for this issue.

                    Git Integration