{ "id": "175455", "key": "TIMOB-28092", "fields": { "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "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": "20950", "name": "Release 9.1.0", "archived": false, "released": true, "releaseDate": "2020-08-25" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2020-08-25T05:19:18.000+0000", "created": "2020-08-20T16:25:40.000+0000", "priority": { "name": "Critical", "id": "1" }, "labels": [], "versions": [], "issuelinks": [ { "id": "58642", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "outwardIssue": { "id": "175292", "key": "TIMOB-28016", "fields": { "summary": "Android: Build fails with ACA 2.0.1 and SDK 9.0.0-9.0.2", "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": "gmathews", "key": "gmathews", "displayName": "Gary Mathews", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2020-08-25T05:19:18.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": "Building a Titanium Android native module with SDK 9.0.0+ will pin the module to require the SDK the module was built with or newer.\r\n\r\nFor example, building {{titanium-identity}} with {{9.0.3.GA}} will cause a build failure for any project builds that include the module and use a older Titanium SDK.\r\n\r\nThis is because the *.pom file generated depends on {{org.appcelerator.titanium}}:\r\n{code:xml}\r\n\r\n org.appcelerator\r\n titanium\r\n 9.0.3\r\n\r\n{code}\r\n\r\n*TEST CASE*\r\n1. Build a native Android module using {{9.0.3.GA}} (i.e: https://github.com/appcelerator-modules/titanium-identity)\r\n2. Include module in project that uses an older Titanium SDK (9.0.0, 9.0.2, ...)\r\n3. Build will fail\r\n{code}\r\n[ERROR] : [GRADLE] Could not determine the dependencies of task ':app:compileDebugJavaWithJavac'.\r\n[ERROR] : [GRADLE] > Could not resolve all task dependencies for configuration ':app:debugCompileClasspath'.\r\n[ERROR] : [GRADLE] > Could not find org.appcelerator:titanium:9.0.3.\r\n{code}", "attachment": [], "flagged": false, "summary": "Android: Native modules pinned to build Titanium SDK version", "creator": { "name": "gmathews", "key": "gmathews", "displayName": "Gary Mathews", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "gmathews", "key": "gmathews", "displayName": "Gary Mathews", "active": true, "timeZone": "America/Los_Angeles" }, "environment": null, "closedSprints": [ { "id": 1204, "state": "closed", "name": "2020 Sprint 17", "startDate": "2020-08-17T15:48:00.000Z", "endDate": "2020-08-28T15:48:00.000Z", "completeDate": "2020-08-31T15:36:28.040Z", "originBoardId": 114 } ], "comment": { "comments": [ { "id": "456534", "author": { "name": "gmathews", "key": "gmathews", "displayName": "Gary Mathews", "active": true, "timeZone": "America/Los_Angeles" }, "body": "https://github.com/appcelerator/titanium_mobile/pull/11935", "updateAuthor": { "name": "gmathews", "key": "gmathews", "displayName": "Gary Mathews", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2020-08-20T16:31:15.000+0000", "updated": "2020-08-20T16:31:15.000+0000" }, { "id": "456576", "author": { "name": "lchoudhary", "key": "lchoudhary", "displayName": "Lokesh Choudhary", "active": true, "timeZone": "America/Los_Angeles" }, "body": "FR Passed.", "updateAuthor": { "name": "lchoudhary", "key": "lchoudhary", "displayName": "Lokesh Choudhary", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2020-08-25T00:45:30.000+0000", "updated": "2020-08-25T00:45:30.000+0000" }, { "id": "456578", "author": { "name": "lchoudhary", "key": "lchoudhary", "displayName": "Lokesh Choudhary", "active": true, "timeZone": "America/Los_Angeles" }, "body": "PR's merged.", "updateAuthor": { "name": "lchoudhary", "key": "lchoudhary", "displayName": "Lokesh Choudhary", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2020-08-25T05:19:10.000+0000", "updated": "2020-08-25T05:19:10.000+0000" } ], "maxResults": 3, "total": 3, "startAt": 0 } } }