1- plugins { id ' com.android.application' ; id ' org.jetbrains.kotlin.android' } .. .
1+ plugins {
2+ id ' com.android.application'
3+ id ' org.jetbrains.kotlin.android'
4+ }
5+
6+ android {
7+ namespace ' com.geekneuron.subpilot'
8+ compileSdk 34
9+
10+ defaultConfig {
11+ applicationId " com.geekneuron.subpilot"
12+ minSdk 24
13+ targetSdk 34
14+ versionCode 1
15+ versionName " 1.0"
16+
17+ testInstrumentationRunner " androidx.test.runner.AndroidJUnitRunner"
18+ vectorDrawables. useSupportLibrary = true
19+ }
20+
21+ buildTypes {
22+ release {
23+ minifyEnabled false
24+ proguardFiles getDefaultProguardFile(' proguard-android-optimize.txt' ), ' proguard-rules.pro'
25+ }
26+ }
27+
28+ compileOptions {
29+ sourceCompatibility JavaVersion . VERSION_17
30+ targetCompatibility JavaVersion . VERSION_17
31+ }
32+
33+ kotlinOptions {
34+ jvmTarget = ' 17'
35+ }
36+
37+ buildFeatures {
38+ compose true
39+ }
40+
41+ composeOptions {
42+ kotlinCompilerExtensionVersion = ' 1.5.3'
43+ }
44+
45+ packagingOptions {
46+ resources. excludes + = " /META-INF/{AL2.0,LGPL2.1}"
47+ }
48+ }
49+
50+ dependencies {
51+ implementation " androidx.core:core-ktx:1.12.0"
52+ implementation " androidx.lifecycle:lifecycle-runtime-ktx:2.6.2"
53+ implementation " androidx.activity:activity-compose:1.8.1"
54+ implementation platform(" androidx.compose:compose-bom:2023.10.01" )
55+ implementation " androidx.compose.ui:ui"
56+ implementation " androidx.compose.ui:ui-tooling-preview"
57+ implementation " androidx.compose.material3:material3"
58+ implementation " androidx.navigation:navigation-compose:2.7.5"
59+ implementation " androidx.datastore:datastore-preferences:1.0.0"
60+ implementation " com.squareup.okio:okio:3.6.0"
61+
62+ testImplementation ' junit:junit:4.13.2'
63+ androidTestImplementation ' androidx.test.ext:junit:1.1.5'
64+ androidTestImplementation ' androidx.test.espresso:espresso-core:3.5.1'
65+ androidTestImplementation platform(' androidx.compose:compose-bom:2023.10.01' )
66+ androidTestImplementation ' androidx.compose.ui:ui-test-junit4'
67+ debugImplementation ' androidx.compose.ui:ui-tooling'
68+ debugImplementation ' androidx.compose.ui:ui-test-manifest'
69+ }
0 commit comments