Skip to content
This repository has been archived by the owner on Jun 1, 2023. It is now read-only.

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

Open
chhandsome opened this issue Apr 16, 2019 · 1 comment

Comments

@chhandsome
Copy link

// 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
Copy link

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?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants