android-samples/snippets/build.gradle
Chris Arriola 49f0bf91e5
chore: Update to secrets-gradle-plugin 1.2.0 (#580)
* chore: Update to secrets-gradle-plugin 1.2.0

* Add new snippet.
2021-06-21 13:25:12 -07:00

32 lines
966 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.10"
repositories {
google()
jcenter()
}
// [END_EXCLUDE]
dependencies {
// [START_EXCLUDE]
classpath "com.android.tools.build:gradle:4.1.3"
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.2.0"
}
}
// [END maps_android_secrets_gradle_plugin_classpath]
allprojects {
repositories {
google()
jcenter()
}
}
task clean(type: Delete) {
delete rootProject.buildDir
}