Lots of Gradle warnings about obsolete Gradle APIs
Categories
(GeckoView :: General, defect)
Tracking
(firefox69 wontfix, firefox70 fixed)
People
(Reporter: JanH, Assigned: agi)
References
(Regression)
Details
(Keywords: regression)
Attachments
(1 file)
... making the build output rather noisy:
> Configure project :app
WARNING: API 'variant.getPreBuild()' is obsolete and has been replaced with 'variant.getPreBuildProvider()'.
It will be removed at the end of 2019.
For more information, see https://d.android.com/r/tools/task-configuration-avoidance.
To determine what is calling variant.getPreBuild(), use -Pandroid.debug.obsoleteApi=true on the command line to display more information.
WARNING: API 'variant.getJavaCompile()' is obsolete and has been replaced with 'variant.getJavaCompileProvider()'.
It will be removed at the end of 2019.
For more information, see https://d.android.com/r/tools/task-configuration-avoidance.
To determine what is calling variant.getJavaCompile(), use -Pandroid.debug.obsoleteApi=true on the command line to display more information.
> Configure project :geckoview
WARNING: API 'variant.getGenerateBuildConfig()' is obsolete and has been replaced with 'variant.getGenerateBuildConfigProvider()'.
It will be removed at the end of 2019.
For more information, see https://d.android.com/r/tools/task-configuration-avoidance.
To determine what is calling variant.getGenerateBuildConfig(), use -Pandroid.debug.obsoleteApi=true on the command line to display more information.
WARNING: API 'variant.getAidlCompile()' is obsolete and has been replaced with 'variant.getAidlCompileProvider()'.
It will be removed at the end of 2019.
For more information, see https://d.android.com/r/tools/task-configuration-avoidance.
To determine what is calling variant.getAidlCompile(), use -Pandroid.debug.obsoleteApi=true on the command line to display more information.
WARNING: API 'variant.getPackageLibrary()' is obsolete and has been replaced with 'variant.getPackageLibraryProvider()'.
It will be removed at the end of 2019.
For more information, see https://d.android.com/r/tools/task-configuration-avoidance.
To determine what is calling variant.getPackageLibrary(), use -Pandroid.debug.obsoleteApi=true on the command line to display more information.
Updated•3 years ago
|
Assignee | ||
Comment 1•3 years ago
|
||
Some of these come from apilint: https://github.com/mozilla-mobile/gradle-apilint/issues/73
Assignee | ||
Comment 2•3 years ago
|
||
I needed something easy so I fixed this. Patch coming soon.
Assignee | ||
Comment 3•3 years ago
|
||
Pushed by asferro@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/38ac0df00f7b Fix gradle warnings about obsolete APIs. r=nalexander
Comment 5•3 years ago
|
||
bugherder |
Comment 6•3 years ago
|
||
69=wontfix because we don't need to uplift these Gradle warning fixes to Beta.
Updated•6 months ago
|
Description
•