Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build WARNING: API 'variant.getJavaCompiler()' is obsolete and has been replaced with 'variant.getJavaCompileProvider()'. #4

Closed
tanranran opened this issue Apr 28, 2019 · 3 comments
Assignees
Labels
android-gradle-compatibility APIs is not compatible with newly versions
Milestone

Comments

@tanranran
Copy link

WARNING: API 'variant.getJavaCompiler()' 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.getJavaCompiler(), use -Pandroid.debug.obsoleteApi=true on the command line to display more information.
Affected Modules: app

@tanranran
Copy link
Author

apply plugin: 'com.didiglobal.booster'

@johnsonlee johnsonlee self-assigned this Apr 28, 2019
@johnsonlee johnsonlee added the android-gradle-compatibility APIs is not compatible with newly versions label Apr 28, 2019
johnsonlee added a commit that referenced this issue Apr 28, 2019
…d has been replaced with 'variant.getJavaCompileProvider()'
@johnsonlee
Copy link
Collaborator

Please try ext.booster_version = 0.1.3-SNAPSHOT, just add the following maven repo in repositories and rebuid:

maven { url 'https://oss.sonatype.org/content/repositories/snapshots/' }

@johnsonlee
Copy link
Collaborator

Booster v0.1.3 has been released

@johnsonlee johnsonlee changed the title Build warning Build WARNING: API 'variant.getJavaCompiler()' is obsolete and has been replaced with 'variant.getJavaCompileProvider()'. Apr 29, 2019
@johnsonlee johnsonlee added this to the booster-v0.2 milestone Apr 29, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
android-gradle-compatibility APIs is not compatible with newly versions
Projects
None yet
Development

No branches or pull requests

2 participants