rovo89 / XposedBridge

The Java part of the Xposed framework.
3.91k stars 1.1k forks source link

Configuration 'provided' is obsolete and has been replaced with 'compileOnly' #275

Open chhandsome opened 5 years ago

chhandsome commented 5 years ago

// provided 'de.robv.android.xposed:api:82' // provided 'de.robv.android.xposed:api:82:sources' provided files('libs/XposedBridgeApi-54.jar') setting like this, the androidstudio show the warning ,and the log of xpose installer has show as follow: cannot load module: The Xposed API classes are compiled into the module' apk

georgedorn commented 5 years ago
WARNING: Configuration 'provided' is obsolete and has been replaced with 'compileOnly'.
It will be removed at the end of 2018. For more information see: http://d.android.com/r/tools/update-dependency-configurations.html
Affected Modules: app

Is it safe to replace provided with compileOnly? What's the difference?