[Android] Configuration 'compile' is obsolete and has been replaced with 'implementation' and 'api'.
HarelM opened this issue · 0 comments
HarelM commented
Described here basically - this is a compilation warning:
apache/cordova-android#1115
Your Environment
- Plugin version: 3.1.10
- Platform: Android
- OS version: N/A
- Device manufacturer and model: N/A
- Cordova version (
cordova -v
): 10.0 - Cordova platform version (
cordova platform ls
): Android 9.0 - Plugin configuration options: N/A
- Link to your project: https://github.com/IsraelHikingMap/Site/tree/master/IsraelHiking.Web
Context
When compiling in latest versions this creates a warning that will cause later version not to pass gradle compilation
Expected Behavior
Update not to use deprecated flags
Actual Behavior
Compilation warning:
Configuration 'compile' is obsolete and has been replaced with 'implementation' and 'api'.
Possible Fix
change compile
to implementation
in depemdencies.gradle
Steps to Reproduce
cordova build android