android-maven-gradle-plugin icon indicating copy to clipboard operation
android-maven-gradle-plugin copied to clipboard

WARNING: API 'variant.getPackageLibrary()' is obsolete and has been replaced with 'variant.getPackageLibraryProvider()'

Open anggrayudi opened this issue 5 years ago • 8 comments

After updating to Kotlin 1.3.30, I got the following error:

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 a stack trace.

anggrayudi avatar Apr 13 '19 18:04 anggrayudi

same here!

xit0c avatar Apr 19 '19 07:04 xit0c

same here

Guiorgy avatar Apr 22 '19 07:04 Guiorgy

same here

same here

KirkBushman avatar May 13 '19 16:05 KirkBushman

same here

TalebRafiepour avatar May 18 '19 13:05 TalebRafiepour

any update?

alhazmy13 avatar May 19 '19 22:05 alhazmy13

same here

Srain-z avatar May 21 '19 04:05 Srain-z

If you are using Kotlin 1.3.30+ and Gradle 5.x use https://github.com/sky-uk/gradle-maven-plugin

gotev avatar Jun 07 '19 08:06 gotev