mauron85/cordova-plugin-background-geolocation

[Android] Configuration 'compile' is obsolete and has been replaced with 'implementation' and 'api'.

HarelM opened this issue · 0 comments

Described here basically - this is a compilation warning:
apache/cordova-android#1115

Your Environment

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

  1. cordova build android