https://kotlinlang.org logo
Title
k

kirillrakhman

01/24/2018, 9:12 AM
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

gildor

01/24/2018, 9:19 AM
Try to check dependencies configurations
./gradlew :myProject:dependencies
k

kirillrakhman

01/24/2018, 9:23 AM
compile - Compile dependencies for 'main' sources (deprecated: use 'implementation' instead).
\--- com.google.firebase:firebase-core:11.8.0
g

gildor

01/24/2018, 9:24 AM
transitive dependency probably. Or maybe google-services Gradle plugin add it to dependencies
e

edwardwongtl

01/24/2018, 9:25 AM
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

kirillrakhman

01/24/2018, 9:25 AM
It seems it's the google-services plugin
g

gildor

01/24/2018, 9:27 AM
Don’t like when plugins add dependnecies implicitly. Same problem with Android Gradle plugin and DataBinding library dependencies (
annotationProcessor
instead of
kapt
)
k

kirillrakhman

01/24/2018, 9:30 AM
j

jw

01/24/2018, 2:17 PM
It'll be closed. There's no public bug tracker for Google play services.
k

kirillrakhman

01/24/2018, 2:19 PM
Ok, so what do I do instead?
j

jw

01/24/2018, 2:24 PM
I have no idea. I think there's a feedback button on the documentation pages they tell you to use. It's dumb.
k

kirillrakhman

01/24/2018, 2:28 PM