group = "dev.kuhy.platform_location" version = "0.1.0" buildscript { val kotlinVersion = "2.4.0" repositories { google() mavenCentral() } dependencies { classpath("com.android.tools.build:gradle:9.5.1") classpath("org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlinVersion") } } allprojects { repositories { google() mavenCentral() } } plugins { id("com.android.library") } android { namespace = "dev.kuhy.platform_location" compileSdk = 37 compileOptions { sourceCompatibility = JavaVersion.VERSION_17 targetCompatibility = JavaVersion.VERSION_17 } sourceSets { getByName("main") { java.srcDirs("src/main/kotlin") } } defaultConfig { minSdk = 24 } } kotlin { compilerOptions { jvmTarget = org.jetbrains.kotlin.gradle.dsl.JvmTarget.JVM_17 } } dependencies { // LocationManagerCompat / LocationRequestCompat / LocationCompat (AOSP, // Apache-2.0). Nothing from com.google.android.gms: that is the point. implementation("androidx.core:core:1.19.1") }