1
1
plugins {
2
- id( " com.android.application " )
3
- kotlin( " android " )
2
+ alias(libs.plugins.androidApplication )
3
+ alias(libs.plugins.kotlinAndroid )
4
4
}
5
5
6
6
android {
7
- namespace = " com.jetbrains.simplelogin.kotlinmultiplatformsandbox"
7
+ namespace = " com.jetbrains.simplelogin.kotlinmultiplatformsandbox.android "
8
8
compileSdk = 34
9
9
defaultConfig {
10
- applicationId = " com.jetbrains.simplelogin.kotlinmultiplatformsandbox"
11
- minSdk = 26
10
+ applicationId = " com.jetbrains.simplelogin.kotlinmultiplatformsandbox.android "
11
+ minSdk = 24
12
12
targetSdk = 34
13
13
versionCode = 1
14
14
versionName = " 1.0"
@@ -17,11 +17,11 @@ android {
17
17
compose = true
18
18
}
19
19
composeOptions {
20
- kotlinCompilerExtensionVersion = " 1.5.4-dev-k1.9.20-Beta2-ac5f960bdaf "
20
+ kotlinCompilerExtensionVersion = libs.versions.compose.compiler.get()
21
21
}
22
22
packaging {
23
23
resources {
24
- excludes + = " /META-INF/** "
24
+ excludes + = " /META-INF/{AL2.0,LGPL2.1} "
25
25
}
26
26
}
27
27
buildTypes {
@@ -30,22 +30,19 @@ android {
30
30
}
31
31
}
32
32
compileOptions {
33
- sourceCompatibility = JavaVersion .VERSION_17
34
- targetCompatibility = JavaVersion .VERSION_17
33
+ sourceCompatibility = JavaVersion .VERSION_1_8
34
+ targetCompatibility = JavaVersion .VERSION_1_8
35
35
}
36
36
kotlinOptions {
37
- jvmTarget = " 17 "
37
+ jvmTarget = " 1.8 "
38
38
}
39
39
}
40
40
41
41
dependencies {
42
- implementation(project(" :shared" ))
43
- implementation(" androidx.compose.ui:ui:1.5.4" )
44
- implementation(" androidx.compose.ui:ui-tooling:1.5.4" )
45
- implementation(" androidx.compose.ui:ui-tooling-preview:1.5.4" )
46
- implementation(" androidx.compose.foundation:foundation:1.5.4" )
47
- implementation(" androidx.compose.material3:material3:1.1.2" )
48
- implementation(" androidx.activity:activity-compose:1.8.1" )
49
- implementation(" androidx.lifecycle:lifecycle-viewmodel-ktx:2.6.2" )
50
- implementation(" androidx.lifecycle:lifecycle-runtime-compose:2.6.2" )
42
+ implementation(projects.shared)
43
+ implementation(libs.compose.ui)
44
+ implementation(libs.compose.ui.tooling.preview)
45
+ implementation(libs.compose.material3)
46
+ implementation(libs.androidx.activity.compose)
47
+ debugImplementation(libs.compose.ui.tooling)
51
48
}
0 commit comments