I'm getting > Warning:Configuration 'compile' ...
# android
k
I'm getting
Warning:Configuration 'compile' is obsolete and has been replaced with 'implementation'. It will be removed at the end of 2018
I don't have any
compile
dependencies anymore. Could it be the Kotlin plugin that causes the warning?
g
Try to check dependencies configurations
./gradlew :myProject:dependencies
k
Copy code
compile - Compile dependencies for 'main' sources (deprecated: use 'implementation' instead).
\--- com.google.firebase:firebase-core:11.8.0
g
transitive dependency probably. Or maybe google-services Gradle plugin add it to dependencies
e
If your
build.gradle
does not contain any
compile ...
, then it should be the library that you're using contains it, then you can just ignore the warning, just wait for the library update
k
It seems it's the google-services plugin
g
Don’t like when plugins add dependnecies implicitly. Same problem with Android Gradle plugin and DataBinding library dependencies (
annotationProcessor
instead of
kapt
)
k
j
It'll be closed. There's no public bug tracker for Google play services.
k
Ok, so what do I do instead?
j
I have no idea. I think there's a feedback button on the documentation pages they tell you to use. It's dumb.
k