equal
deleted
inserted
replaced
1 plugins { |
|
2 id("com.android.library") |
|
3 kotlin("android") |
|
4 id("com.geekorum.build.source-license-checker") |
|
5 } |
|
6 |
|
7 android { |
|
8 namespace = "com.geekorum.aboutoss.ui" |
|
9 compileSdk = 33 |
|
10 |
|
11 defaultConfig { |
|
12 minSdk = 28 |
|
13 |
|
14 testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner" |
|
15 consumerProguardFiles("consumer-rules.pro") |
|
16 } |
|
17 |
|
18 buildTypes { |
|
19 release { |
|
20 isMinifyEnabled = false |
|
21 proguardFiles( |
|
22 getDefaultProguardFile("proguard-android-optimize.txt"), |
|
23 "proguard-rules.pro" |
|
24 ) |
|
25 } |
|
26 } |
|
27 compileOptions { |
|
28 sourceCompatibility = JavaVersion.VERSION_1_8 |
|
29 targetCompatibility = JavaVersion.VERSION_1_8 |
|
30 } |
|
31 kotlinOptions { |
|
32 jvmTarget = "1.8" |
|
33 } |
|
34 |
|
35 buildFeatures { |
|
36 compose = true |
|
37 } |
|
38 |
|
39 composeOptions { |
|
40 kotlinCompilerExtensionVersion = libs.versions.androidx.compose.compiler.get() |
|
41 } |
|
42 } |
|
43 |
|
44 dependencies { |
|
45 implementation(project(":ui:common")) |
|
46 implementation(platform(libs.androidx.compose.bom)) |
|
47 implementation(libs.androidx.compose.material) |
|
48 implementation(libs.androidx.lifecycle.viewmodel) |
|
49 implementation(libs.androidx.activity) |
|
50 implementation(libs.androidx.activity.compose) |
|
51 implementation(libs.androidx.navigation.compose) |
|
52 implementation(libs.geekdroid) { |
|
53 //TODO get rid of dagger platform in geekdroid |
|
54 exclude("com.google.dagger", "dagger-platform") |
|
55 } |
|
56 |
|
57 implementation(libs.appcompat) |
|
58 testImplementation(libs.junit) |
|
59 androidTestImplementation(libs.androidx.test.ext.junit) |
|
60 androidTestImplementation(libs.espresso.core) |
|
61 } |
|