Abrarul8541 commited on
Commit
f01001a
·
verified ·
1 Parent(s): 1547850

Phase 0: app module build (arm64 only, R8 shrink)

Browse files
Files changed (1) hide show
  1. app/build.gradle.kts +50 -0
app/build.gradle.kts ADDED
@@ -0,0 +1,50 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ plugins {
2
+ id("com.android.application")
3
+ id("org.jetbrains.kotlin.android")
4
+ id("org.jetbrains.kotlin.plugin.compose")
5
+ id("com.google.devtools.ksp")
6
+ }
7
+
8
+ android {
9
+ namespace = "io.github.abrarul.modularai"
10
+ compileSdk = 34
11
+
12
+ defaultConfig {
13
+ applicationId = "io.github.abrarul.modularai"
14
+ minSdk = 26
15
+ targetSdk = 34
16
+ versionCode = 1
17
+ versionName = "0.1.0"
18
+ ndk { abiFilters += listOf("arm64-v8a") }
19
+ }
20
+
21
+ buildTypes {
22
+ release {
23
+ isMinifyEnabled = true
24
+ isShrinkResources = true
25
+ proguardFiles(getDefaultProguardFile("proguard-android-optimize.txt"), "proguard-rules.pro")
26
+ }
27
+ }
28
+ compileOptions {
29
+ sourceCompatibility = JavaVersion.VERSION_17
30
+ targetCompatibility = JavaVersion.VERSION_17
31
+ }
32
+ kotlinOptions { jvmTarget = "17" }
33
+ buildFeatures { compose = true }
34
+ packaging { resources.excludes += "/META-INF/{AL2.0,LGPL2.1}" }
35
+ }
36
+
37
+ dependencies {
38
+ val composeBom = platform("androidx.compose:compose-bom:2024.09.00")
39
+ implementation(composeBom)
40
+ implementation("androidx.activity:activity-compose:1.9.2")
41
+ implementation("androidx.compose.material3:material3")
42
+ implementation("androidx.compose.ui:ui")
43
+ implementation("androidx.lifecycle:lifecycle-viewmodel-compose:2.8.6")
44
+ implementation("androidx.biometric:biometric:1.1.0")
45
+ implementation("androidx.room:room-runtime:2.6.1")
46
+ implementation("androidx.room:room-ktx:2.6.1")
47
+ ksp("androidx.room:room-compiler:2.6.1")
48
+ implementation("org.jetbrains.kotlinx:kotlinx-coroutines-android:1.8.1")
49
+ testImplementation("junit:junit:4.13.2")
50
+ }