mirror of
https://github.com/googlemaps/android-samples.git
synced 2025-12-08 18:02:20 +00:00
* chore: Using AGP 7.0.0 * Use Java 11. * Using 'adopt' distribution * Ignore .java-version * Remove onClick from XML * Add abortOnError false.
33 lines
977 B
Groovy
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
|
|
}
|