phonegap / phonegap-plugin-barcodescanner

cross-platform BarcodeScanner for Cordova / PhoneGap
MIT License
1.27k stars 1.39k forks source link

Build warning : Configuration 'compile' is obsolete and has been replaced with 'implementation' #844

Closed nicozenf closed 4 years ago

nicozenf commented 4 years ago

After a full stack update, i get this warning when building app :

WARNING: Configuration 'compile' is obsolete and has been replaced with 'implementation' and 'api'. It will be removed at the end of 2018. For more information see: http://d.android.com/r/tools/update-dependency-configurations.html

I can dirtily fix the warning by manually changing my project file platforms/android/phonegap-plugin-barcodescanner/blgCloud-barcodescanner.gradle src/android/barcodescanner.gradle:9 compile(name:'barcodescanner-release-2.1.5', ext:'aar') to implementation(name:'barcodescanner-release-2.1.5', ext:'aar')

Expected Behaviour

No warning at build

Actual Behaviour

Warning at build :

WARNING: Configuration 'compile' is obsolete and has been replaced with 'implementation' and 'api'. It will be removed at the end of 2018. For more information see: http://d.android.com/r/tools/update-dependency-configurations.html

Cordova CLI version and cordova platform version

cordova 6.5.0
android 8.1.0
ios 5.1.1

Plugin version

8.1.0
stale[bot] commented 4 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

lock[bot] commented 4 years ago

This thread has been automatically locked.