android-samples/snippets/build.gradle
Chris Arriola 5e9359b25e
chore: Update dependencies and remove jcenter() (#582)
* chore: Bump AGP 4.2.1 and use secrets-gradle-plugin 1.3.0

* chore: Remove jcenter()

* Use gradle 6.7.1

* Add volley 1.2.0

* Fix build errors.

* Use requireActivity.
2021-07-14 17:22:31 -07:00

32 lines
976 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.20"
repositories {
google()
mavenCentral()
}
// [END_EXCLUDE]
dependencies {
// [START_EXCLUDE]
classpath "com.android.tools.build:gradle:4.2.1"
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
}