equal
deleted
inserted
replaced
27 id("com.geekorum.build.maven-publish") |
27 id("com.geekorum.build.maven-publish") |
28 id("com.geekorum.build.dokka") |
28 id("com.geekorum.build.dokka") |
29 } |
29 } |
30 |
30 |
31 kotlin { |
31 kotlin { |
32 androidTarget() |
32 android { |
|
33 namespace = "com.geekorum.aboutoss.ui.common" |
|
34 androidResources { |
|
35 enable = true |
|
36 } |
|
37 |
|
38 @Suppress("UnstableApiUsage") |
|
39 optimization { |
|
40 consumerKeepRules.apply { |
|
41 publish = true |
|
42 file("consumer-rules.pro") |
|
43 } |
|
44 } |
|
45 } |
33 |
46 |
34 jvm("desktop") |
47 jvm("desktop") |
35 |
48 |
36 listOf( |
49 listOf( |
37 iosX64(), |
50 iosX64(), |
55 |
68 |
56 androidMain.dependencies { |
69 androidMain.dependencies { |
57 api(libs.androidx.activity) |
70 api(libs.androidx.activity) |
58 implementation(libs.androidx.activity.compose) |
71 implementation(libs.androidx.activity.compose) |
59 } |
72 } |
|
73 androidUnitTest.dependencies { |
|
74 implementation(libs.androidx.test.ext.junit) |
|
75 implementation(libs.espresso.core) |
|
76 } |
60 } |
77 } |
61 } |
78 } |
62 |
79 |
63 compose.resources { |
80 compose.resources { |
64 publicResClass = true |
81 publicResClass = true |
65 } |
82 } |
66 |
83 |
67 android { |
|
68 namespace = "com.geekorum.aboutoss.ui.common" |
|
69 |
|
70 defaultConfig { |
|
71 testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner" |
|
72 consumerProguardFiles("consumer-rules.pro") |
|
73 } |
|
74 |
|
75 buildTypes { |
|
76 release { |
|
77 isMinifyEnabled = false |
|
78 proguardFiles( |
|
79 getDefaultProguardFile("proguard-android-optimize.txt"), |
|
80 "proguard-rules.pro" |
|
81 ) |
|
82 } |
|
83 } |
|
84 |
|
85 publishing { |
|
86 singleVariant("release") { |
|
87 withJavadocJar() |
|
88 withSourcesJar() |
|
89 } |
|
90 } |
|
91 } |
|
92 |
84 |
93 dependencies { |
85 dependencies { |
94 testImplementation(libs.junit) |
86 androidRuntimeClasspath(libs.jetbrains.compose.uiTooling) |
95 androidTestImplementation(libs.androidx.test.ext.junit) |
|
96 androidTestImplementation(libs.espresso.core) |
|
97 "androidMainApi"(libs.geekdroid) { |
87 "androidMainApi"(libs.geekdroid) { |
98 exclude("androidx.compose.material3") |
88 exclude("androidx.compose.material3") |
99 } |
89 } |
100 } |
90 } |
101 |
91 |