build.gradle
// Top-level build file where you can add configuration options common to all sub-projects/modules.
buildscript {
ext {
kotlin_version = '1.8.21'
}
repositories {
// Make sure that you have the following two repositories
google() // Google's Maven repository
mavenCentral() // Maven Central repository
jcenter()
}
dependencies {
classpath 'com.google.gms:google-services:4.3.15'
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
}
}
plugins {
id 'com.android.application' version '7.4.2' apply false
id 'com.android.library' version '7.4.2' apply false
id 'com.google.android.libraries.mapsplatform.secrets-gradle-plugin' version '2.0.1' apply false
id 'org.jetbrains.dokka' version '1.8.10'
}
subprojects {
apply plugin: 'org.jetbrains.dokka'
}
//allprojects {
// repositories {
// // Make sure that you have the following two repositories
// google() // Google's Maven repository
// mavenCentral() // Maven Central repository
// }
//}
apply plugin: 'com.google.gms.google-services'