Android Gradle - What to use instead of compileOnly?
compileOnly
is the replacement — the equivalent configuration that is being deprecated is provided
. See the documentation.
Your Project gradle dependecies should be changed from
dependencies {
provided 'com.someDependency:api:78'
}
to
dependencies {
compileOnly 'com.someDependency:api:78'
}