{ "id": "172392", "key": "TIMOB-26435", "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": "20238", "description": "", "name": "Release 7.5.0", "archived": false, "released": true, "releaseDate": "2018-11-15" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2018-10-12T18:12:08.000+0000", "created": "2018-10-03T21:00:35.000+0000", "priority": { "name": "High", "id": "2" }, "labels": [], "versions": [ { "id": "20275", "name": "Release 7.4.1", "archived": false, "released": true, "releaseDate": "2018-10-18" } ], "issuelinks": [ { "id": "57034", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "inwardIssue": { "id": "172645", "key": "TISTUD-9155", "fields": { "summary": "Studio 6.0 GA: Install Java 11 with Studio 6.0 installers", "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": "High", "id": "2" }, "issuetype": { "id": "4", "description": "An improvement or enhancement to an existing feature or task.", "name": "Improvement", "subtask": false } } } } ], "assignee": { "name": "eharris", "key": "eharris", "displayName": "Ewan Harris", "active": true, "timeZone": "Europe/Dublin" }, "updated": "2018-11-20T04:38:48.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": "When running an app with Java 11, the build fails:\r\n{code}\r\n[ERROR] Failed to run dexer:\r\n[ERROR]\r\n[ERROR] FAILURE: Build failed with an exception.\r\n[ERROR]\r\n[ERROR] * What went wrong:\r\n[ERROR] Could not determine java version from '11'.\r\n[ERROR]\r\n[ERROR] * Try:\r\n[ERROR] Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.\r\n[ERROR]\r\n[ERROR] * Get more help at https://help.gradle.org\r\n{code}\r\n\r\nThe Java version check:\r\n{code}\r\n$ java --version\r\njava 11 2018-09-25\r\nJava(TM) SE Runtime Environment 18.9 (build 11+28)\r\nJava HotSpot(TM) 64-Bit Server VM 18.9 (build 11+28, mixed mode)\r\n{code}", "attachment": [], "flagged": false, "summary": "Android: Update gradle to support JDK 11", "creator": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "subtasks": [], "reporter": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "environment": null, "closedSprints": [ { "id": 1078, "state": "closed", "name": "2018 Sprint 20 SDK", "startDate": "2018-09-23T16:57:58.349Z", "endDate": "2018-10-07T16:57:00.000Z", "completeDate": "2018-10-07T23:31:40.476Z", "originBoardId": 114 }, { "id": 1084, "state": "closed", "name": "2018 Sprint 21", "startDate": "2018-10-07T23:32:40.560Z", "endDate": "2018-10-21T23:32:00.000Z", "completeDate": "2018-10-21T23:19:05.460Z", "originBoardId": 114 } ], "comment": { "comments": [ { "id": "442275", "author": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "body": "This is currently blocking our Titanium development. ping [~eharris] so the team knows about this! Workaround is to downgrade to JDK 10, but that's not ideal.", "updateAuthor": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "created": "2018-10-04T08:17:26.000+0000", "updated": "2018-10-04T08:17:26.000+0000" }, { "id": "442282", "author": { "name": "eharris", "key": "eharris", "displayName": "Ewan Harris", "active": true, "timeZone": "Europe/Dublin" }, "body": "[~hknoechel] I've just tested locally and changing this line https://github.com/appcelerator/titanium_mobile/blob/75294d039e323da40e43f362eb1dd11ad1ce1b36/android/templates/gradle/gradle/wrapper/gradle-wrapper.properties#L5 to {{distributionUrl=http\\://services.gradle.org/distributions/gradle-4.10.2-all.zip}} allows me to build with Java 11", "updateAuthor": { "name": "eharris", "key": "eharris", "displayName": "Ewan Harris", "active": true, "timeZone": "Europe/Dublin" }, "created": "2018-10-04T10:40:48.000+0000", "updated": "2018-10-04T10:40:48.000+0000" }, { "id": "442283", "author": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "body": "So it's the same issue like for RN? It would be great to see this in the next official release.", "updateAuthor": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "created": "2018-10-04T10:45:15.000+0000", "updated": "2018-10-04T10:45:15.000+0000" }, { "id": "442287", "author": { "name": "eharris", "key": "eharris", "displayName": "Ewan Harris", "active": true, "timeZone": "Europe/Dublin" }, "body": "https://github.com/appcelerator/titanium_mobile/pull/10369", "updateAuthor": { "name": "eharris", "key": "eharris", "displayName": "Ewan Harris", "active": true, "timeZone": "Europe/Dublin" }, "created": "2018-10-04T12:21:29.000+0000", "updated": "2018-10-04T12:21:29.000+0000" }, { "id": "442565", "author": { "name": "lchoudhary", "key": "lchoudhary", "displayName": "Lokesh Choudhary", "active": true, "timeZone": "America/Los_Angeles" }, "body": "PR Merged.", "updateAuthor": { "name": "lchoudhary", "key": "lchoudhary", "displayName": "Lokesh Choudhary", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2018-10-12T18:12:03.000+0000", "updated": "2018-10-12T18:12:03.000+0000" }, { "id": "442651", "author": { "name": "smohammed", "key": "smohammed", "displayName": "Samir Mohammed", "active": true, "timeZone": "America/Los_Angeles" }, "body": "*Closing ticket.* Verified improvement in SDK version: {{7.5.0.v20181015122219}}.\r\n\r\nTest and other information can found at:\r\nhttps://github.com/appcelerator/titanium_mobile/pull/10369", "updateAuthor": { "name": "smohammed", "key": "smohammed", "displayName": "Samir Mohammed", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2018-10-16T11:45:57.000+0000", "updated": "2018-10-16T11:45:57.000+0000" } ], "maxResults": 11, "total": 11, "startAt": 0 } } }