{ "id": "176197", "key": "TIMOB-28456", "fields": { "issuetype": { "id": "4", "description": "An improvement or enhancement to an existing feature or task.", "name": "Improvement", "subtask": false }, "project": { "id": "10153", "key": "TIMOB", "name": "Titanium SDK/CLI", "projectCategory": { "id": "10100", "description": "Titanium and related SDKs used in application development", "name": "Client" } }, "fixVersions": [ { "id": "21199", "description": "", "name": "Release 10.0.1", "archived": false, "released": true, "releaseDate": "2021-07-28" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2021-05-28T12:35:08.000+0000", "created": "2021-05-19T03:09:25.000+0000", "priority": { "name": "High", "id": "2" }, "labels": [ "android", "breaking-change", "build", "gradle" ], "versions": [], "issuelinks": [ { "id": "59297", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "inwardIssue": { "id": "176248", "key": "TIMOB-28502", "fields": { "summary": "Android: Build fails due to Gradle dependency issues (SDK 10.0.1)", "status": { "description": "The issue is considered finished, the resolution is correct. Issues which are closed can be reopened.", "name": "Closed", "id": "6", "statusCategory": { "id": 3, "key": "done", "colorName": "green", "name": "Done" } }, "priority": { "name": "None", "id": "6" }, "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } } ], "assignee": { "name": "jquick", "key": "jquick", "displayName": "Joshua Quick", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2021-07-06T19:32:00.000+0000", "status": { "description": "The issue is considered finished, the resolution is correct. Issues which are closed can be reopened.", "name": "Closed", "id": "6", "statusCategory": { "id": 3, "key": "done", "colorName": "green", "name": "Done" } }, "components": [ { "id": "10202", "name": "Android", "description": "Android Platform" } ], "description": "*Summary:*\r\nThe {{JCenter}} repository has been deprecated and their plan is to shut it down by February 1, 2022.\r\nhttps://developer.android.com/studio/build/jcenter-migration\r\n\r\nThis impacts Android gradle builds which fetch dependencies from this repository. A \"build.gradle\" script references this repo via the {{jcenter()}} function.\r\n\r\n*To-Do:*\r\nReplace our usage of {{jcenter()}} with {{mavenCentral()}} here...\r\nhttps://github.com/appcelerator/titanium_mobile/blob/master/android/build.gradle\r\nhttps://github.com/appcelerator/titanium_mobile/blob/master/android/templates/build/root.build.gradle\r\n\r\n*Breaking-Change:*\r\nChanging 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.\r\n{code:groovy}\r\n// build.gradle\r\nrepositories {\r\n\tjcenter()\r\n}\r\n{code}\r\n", "attachment": [], "flagged": false, "summary": "Android: Remove deprecated usage of jcenter() repo from gradle", "creator": { "name": "jquick", "key": "jquick", "displayName": "Joshua Quick", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "jquick", "key": "jquick", "displayName": "Joshua Quick", "active": true, "timeZone": "America/Los_Angeles" }, "environment": null, "comment": { "comments": [ { "id": "458692", "author": { "name": "jquick", "key": "jquick", "displayName": "Joshua Quick", "active": true, "timeZone": "America/Los_Angeles" }, "body": "PR (master): https://github.com/appcelerator/titanium_mobile/pull/12821\r\nPR (hyperloop-examples): https://github.com/appcelerator/hyperloop-examples/pull/89", "updateAuthor": { "name": "jquick", "key": "jquick", "displayName": "Joshua Quick", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2021-05-19T05:13:53.000+0000", "updated": "2021-05-19T05:24:43.000+0000" }, { "id": "458716", "author": { "name": "cwilliams", "key": "cwilliams", "displayName": "Christopher Williams", "active": true, "timeZone": "America/New_York" }, "body": "merged to master, backport PR for 10_0_X in progress.", "updateAuthor": { "name": "cwilliams", "key": "cwilliams", "displayName": "Christopher Williams", "active": true, "timeZone": "America/New_York" }, "created": "2021-05-27T13:47:15.000+0000", "updated": "2021-05-27T13:47:15.000+0000" }, { "id": "458721", "author": { "name": "eharris", "key": "eharris", "displayName": "Ewan Harris", "active": true, "timeZone": "Europe/Dublin" }, "body": "10_0_X PR merged", "updateAuthor": { "name": "eharris", "key": "eharris", "displayName": "Ewan Harris", "active": true, "timeZone": "Europe/Dublin" }, "created": "2021-05-28T12:35:06.000+0000", "updated": "2021-05-28T12:35:06.000+0000" } ], "maxResults": 3, "total": 3, "startAt": 0 } } }