|
|
|
|
@ -35,7 +35,7 @@ class AndroidApplicationConventionPlugin : Plugin<Project> {
|
|
|
|
|
|
|
|
|
|
// Apply Google's OSS Licenses plugin only on CI to avoid breaking configuration cache on local builds
|
|
|
|
|
// https://github.com/google/play-services-plugins/issues/246
|
|
|
|
|
if (providers.gradleProperty("CI").isPresent) apply(plugin = "com.google.android.gms.oss-licenses-plugin")
|
|
|
|
|
if (providers.environmentVariable("CI").isPresent) apply(plugin = "com.google.android.gms.oss-licenses-plugin")
|
|
|
|
|
|
|
|
|
|
extensions.configure<ApplicationExtension> {
|
|
|
|
|
configureKotlinAndroid(this)
|
|
|
|
|
|