Closed Bug 1785302 Opened 2 years ago Closed 2 years ago

Fix GeckoView gradle warnings

Categories

(GeckoView :: General, task)

All
Android

Tracking

(firefox105 fixed)

RESOLVED FIXED
105 Branch
Tracking Status
firefox105 --- fixed

People

(Reporter: RyanVM, Assigned: RyanVM)

Details

Attachments

(1 file)

Was looking at a recent log and saw these warnings go by:

[task 2022-08-17T17:30:32.127Z] > Configure project :geckoview
[task 2022-08-17T17:30:32.130Z] WARNING:DSL element 'dexOptions' is obsolete and should be removed.
[task 2022-08-17T17:30:32.132Z] It will be removed in version 8.0 of the Android Gradle plugin.
[task 2022-08-17T17:30:32.133Z] Using it has no effect, and the AndroidGradle plugin optimizes dexing automatically.
[task 2022-08-17T17:30:32.134Z] Warning: This version only understands SDK XML versions up to 2 but an SDK XML file of version 3 was encountered. This can happen if you use versions of Android Studio and the command-line tools that were released at different times.
[task 2022-08-17T17:30:32.135Z] Warning: unexpected element (uri:"", local:"base-extension"). Expected elements are <{}codename>,<{}layoutlib>,<{}api-level>
[task 2022-08-17T17:30:32.422Z] 
[task 2022-08-17T17:30:32.422Z] > Configure project :geckoview_example
[task 2022-08-17T17:30:32.422Z] WARNING:DSL element 'dexOptions' is obsolete and should be removed.
[task 2022-08-17T17:30:32.422Z] It will be removed in version 8.0 of the Android Gradle plugin.
[task 2022-08-17T17:30:32.422Z] Using it has no effect, and the AndroidGradle plugin optimizes dexing automatically.
[task 2022-08-17T17:30:32.521Z] 
[task 2022-08-17T17:30:32.522Z] > Configure project :messaging_example
[task 2022-08-17T17:30:32.522Z] WARNING:DSL element 'dexOptions' is obsolete and should be removed.
[task 2022-08-17T17:30:32.522Z] It will be removed in version 8.0 of the Android Gradle plugin.
[task 2022-08-17T17:30:32.523Z] Using it has no effect, and the AndroidGradle plugin optimizes dexing automatically.
[task 2022-08-17T17:30:32.622Z] 
[task 2022-08-17T17:30:32.624Z] > Configure project :port_messaging_example
[task 2022-08-17T17:30:32.625Z] WARNING:DSL element 'dexOptions' is obsolete and should be removed.
[task 2022-08-17T17:30:32.626Z] It will be removed in version 8.0 of the Android Gradle plugin.
[task 2022-08-17T17:30:32.627Z] Using it has no effect, and the AndroidGradle plugin optimizes dexing automatically.
[task 2022-08-17T17:30:32.722Z] 
[task 2022-08-17T17:30:32.727Z] > Configure project :test_runner
[task 2022-08-17T17:30:32.728Z] WARNING:DSL element 'dexOptions' is obsolete and should be removed.
[task 2022-08-17T17:30:32.728Z] It will be removed in version 8.0 of the Android Gradle plugin.
[task 2022-08-17T17:30:32.728Z] Using it has no effect, and the AndroidGradle plugin optimizes dexing automatically.
Pushed by rvandermeulen@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/cbbed808dc99
Fix GeckoView gradle warnings. r=geckoview-reviewers,owlish
Status: NEW → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → 105 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: