/ app / build.gradle.kts
build.gradle.kts
 1  plugins {
 2      id("com.android.application")
 3      id("org.jetbrains.kotlin.android")
 4  }
 5  
 6  android {
 7      namespace = "site.secluded.maps"
 8      compileSdk = 34
 9  
10      defaultConfig {
11          applicationId = "site.secluded.maps"
12          minSdk = 24
13          targetSdk = 34
14          versionCode = 1
15          versionName = "1.0"
16  
17          testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner"
18          vectorDrawables {
19              useSupportLibrary = true
20          }
21      }
22  
23      buildTypes {
24          release {
25              isMinifyEnabled = true
26              proguardFiles(
27                  getDefaultProguardFile("proguard-android-optimize.txt"),
28                  "proguard-rules.pro"
29              )
30          }
31      }
32      compileOptions {
33          sourceCompatibility = JavaVersion.VERSION_1_8
34          targetCompatibility = JavaVersion.VERSION_1_8
35      }
36      kotlinOptions {
37          jvmTarget = "1.8"
38      }
39      buildFeatures {
40          compose = true
41      }
42      composeOptions {
43          kotlinCompilerExtensionVersion = "1.5.1"
44      }
45      packaging {
46          resources {
47              excludes += "/META-INF/{AL2.0,LGPL2.1}"
48          }
49      }
50  }
51  
52  dependencies {
53  
54      implementation("androidx.core:core-ktx:1.12.0")
55      implementation("androidx.lifecycle:lifecycle-runtime-ktx:2.7.0")
56      implementation("androidx.activity:activity-compose:1.8.2")
57      implementation(platform("androidx.compose:compose-bom:2024.04.00"))
58      implementation("androidx.compose.ui:ui")
59      implementation("androidx.compose.ui:ui-graphics")
60      implementation("androidx.compose.ui:ui-tooling-preview")
61      implementation("androidx.compose.material3:material3")
62      implementation("androidx.compose.material:material-icons-extended")
63      implementation(platform("com.squareup.okhttp3:okhttp-bom:4.12.0"))
64      implementation("com.squareup.okhttp3:okhttp")
65      implementation("com.squareup.okhttp3:logging-interceptor")
66      testImplementation("junit:junit:4.13.2")
67      androidTestImplementation("androidx.test.ext:junit:1.1.5")
68      androidTestImplementation("androidx.test.espresso:espresso-core:3.5.1")
69      androidTestImplementation(platform("androidx.compose:compose-bom:2024.04.00"))
70      androidTestImplementation("androidx.compose.ui:ui-test-junit4")
71      debugImplementation("androidx.compose.ui:ui-tooling")
72      debugImplementation("androidx.compose.ui:ui-test-manifest")
73      implementation("com.google.openlocationcode:openlocationcode:1.0.4")
74      implementation("io.sentry:sentry-android:7.6.0")
75  }