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 androidLibrary { |
|
33 namespace = "com.geekorum.aboutoss.ui.common" |
|
34 withHostTestBuilder { } |
|
35 withDeviceTestBuilder { } |
|
36 } |
33 |
37 |
34 jvm("desktop") |
38 jvm("desktop") |
35 |
39 |
36 listOf( |
40 listOf( |
37 iosX64(), |
41 iosX64(), |
49 implementation(project(":core")) |
53 implementation(project(":core")) |
50 api(libs.jetbrains.androidx.lifecycle.runtimeCompose) |
54 api(libs.jetbrains.androidx.lifecycle.runtimeCompose) |
51 api(libs.jetbrains.androidx.lifecycle.viewmodel) |
55 api(libs.jetbrains.androidx.lifecycle.viewmodel) |
52 api(compose.components.resources) |
56 api(compose.components.resources) |
53 implementation(compose.runtime) |
57 implementation(compose.runtime) |
|
58 api(compose.ui) |
54 } |
59 } |
55 |
60 |
56 androidMain.dependencies { |
61 androidMain.dependencies { |
57 api(libs.androidx.activity) |
62 api(libs.androidx.activity) |
58 implementation(libs.androidx.activity.compose) |
63 implementation(libs.androidx.activity.compose) |
|
64 } |
|
65 |
|
66 named("androidHostTest") { |
|
67 dependencies { |
|
68 implementation(libs.junit) |
|
69 } |
|
70 } |
|
71 named("androidDeviceTest") { |
|
72 dependencies { |
|
73 implementation(libs.androidx.test.ext.junit) |
|
74 implementation(libs.espresso.core) |
|
75 } |
59 } |
76 } |
60 } |
77 } |
61 } |
78 } |
62 |
79 |
63 compose.resources { |
80 compose.resources { |
64 publicResClass = true |
81 publicResClass = true |
65 } |
82 } |
66 |
83 |
|
84 /* |
67 android { |
85 android { |
68 namespace = "com.geekorum.aboutoss.ui.common" |
86 namespace = "com.geekorum.aboutoss.ui.common" |
69 |
87 |
70 defaultConfig { |
88 defaultConfig { |
71 testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner" |
89 testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner" |
87 withJavadocJar() |
105 withJavadocJar() |
88 withSourcesJar() |
106 withSourcesJar() |
89 } |
107 } |
90 } |
108 } |
91 } |
109 } |
|
110 */ |
92 |
111 |
93 dependencies { |
112 dependencies { |
94 testImplementation(libs.junit) |
|
95 androidTestImplementation(libs.androidx.test.ext.junit) |
|
96 androidTestImplementation(libs.espresso.core) |
|
97 "androidMainApi"(libs.geekdroid) { |
113 "androidMainApi"(libs.geekdroid) { |
98 exclude("androidx.compose.material3") |
114 exclude("androidx.compose.material3") |
99 } |
115 } |
100 } |
116 } |
101 |
117 |