diff -r fadd67b0e26c -r e121390a16d3 ui/material2/build.gradle.kts --- a/ui/material2/build.gradle.kts Tue Sep 16 15:21:10 2025 -0400 +++ b/ui/material2/build.gradle.kts Mon May 26 17:49:20 2025 -0400 @@ -31,7 +31,11 @@ } kotlin { - androidTarget() + androidLibrary { + namespace = "com.geekorum.aboutoss.ui.material" + withHostTestBuilder { } + withDeviceTestBuilder { } + } jvm("desktop") @@ -62,10 +66,23 @@ implementation(dependencies.platform(libs.androidx.compose.bom)) implementation(libs.androidx.activity.compose) } + + named("androidHostTest") { + dependencies { + implementation(libs.junit) + } + } + named("androidDeviceTest") { + dependencies { + implementation(libs.androidx.test.ext.junit) + implementation(libs.espresso.core) + } + } } } +/* android { namespace = "com.geekorum.aboutoss.ui.material" @@ -95,12 +112,7 @@ } } } - -dependencies { - testImplementation(libs.junit) - androidTestImplementation(libs.androidx.test.ext.junit) - androidTestImplementation(libs.espresso.core) -} +*/ mavenPublishing { val artifactId = "ui-material"