android-samples/snippets/build.gradle
Chris Arriola b92eeef28b
chore: Using AGP 7.0.0 (#658)
* chore: Using AGP 7.0.0

* Use Java 11.

* Using 'adopt' distribution

* Ignore .java-version

* Remove onClick from XML

* Add abortOnError false.
2021-08-09 16:41:26 -07:00

33 lines
977 B
Groovy

// Top-level build file where you can add configuration options common to all sub-projects/modules.
// [START maps_android_secrets_gradle_plugin_classpath]
buildscript {
// [START_EXCLUDE silent]
ext.kotlin_version = "1.5.21"
repositories {
google()
mavenCentral()
}
// [END_EXCLUDE]
dependencies {
// [START_EXCLUDE]
classpath "com.android.tools.build:gradle:7.0.0"
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
// [END_EXCLUDE]
classpath "com.google.android.libraries.mapsplatform.secrets-gradle-plugin:secrets-gradle-plugin:1.3.0"
}
}
// [END maps_android_secrets_gradle_plugin_classpath]
allprojects {
repositories {
google()
mavenCentral()
}
}
task clean(type: Delete) {
delete rootProject.buildDir
}