@chemerisuk Yes, it seems `cordova.gradle` would need to be applied within the
scope so it becomes available.
```
dependencies {
apply from: '../CordovaLib/cordova.gradle'
classpath 'com.android.tools.build:gradle:3.1.0'
if(cdvHelpers.getConfigPreference('EnableGoogleServicesPlugin',
'false').toBoolean()) {
println 'Adding classpath "com.google.gms:google-services:3.2.1"'
classpath 'com.google.gms:google-services:3.2.1'
}
}
```
@dpogue Would you know off-hand if something like this would be problematic?
The `cordova.gradle` content seems to be only helper methods. Adding it seems
to solve the desire to make the classpaths conditional.
[ Full content available at: https://github.com/apache/cordova-android/pull/438
]
This message was relayed via gitbox.apache.org for [email protected]