Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Getting a warning for 'compile' is obsolete #636

Open
powysm opened this issue Mar 3, 2020 · 2 comments
Open

Getting a warning for 'compile' is obsolete #636

powysm opened this issue Mar 3, 2020 · 2 comments

Comments

@powysm
Copy link

powysm commented Mar 3, 2020

using release 3.4.0 in studio 3.3.2

I get the following message on build

WARNING: Configuration 'compile' is obsolete and has been replaced with 'implementation' and 'api'.
It will be removed at the end of 2018.

This is the offending line:

compile (name:'Branch', ext:'aar')

Changing to the following resolves:

implementation (name:'Branch', ext:'aar')

@echo-branch
Copy link
Contributor

That's a maintenance release for users who cannot upgrade. I believe the 4.x series has that change.

@codinronan

@codinronan
Copy link
Contributor

codinronan commented Mar 3, 2020

@powysm @echo-branch That is correct; the 3.x releases are intended to be backwards compatible with older Android Studio + Older Xcode, meaning we aren't changing things like compile vs implementation and CocoaPods support.

The rules.gradle file was removed in the 4.x releases and uses the default Cordova config (which uses implementation) so it no longer has that error.

The 4.x releases are 100% up to date and don't have those warnings.

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

No branches or pull requests

3 participants