--- a/ui/material3/build.gradle.kts Tue Sep 16 15:21:10 2025 -0400
+++ b/ui/material3/build.gradle.kts Mon May 26 17:49:20 2025 -0400
@@ -30,8 +30,11 @@
}
kotlin {
- androidTarget()
-
+ androidLibrary {
+ namespace = "com.geekorum.aboutoss.ui.material3"
+ withHostTestBuilder { }
+ withDeviceTestBuilder { }
+ }
jvm("desktop")
listOf(
@@ -64,10 +67,22 @@
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.material3"
@@ -97,14 +112,14 @@
}
}
}
+*/
dependencies {
- testImplementation(libs.junit)
- androidTestImplementation(libs.androidx.test.ext.junit)
- androidTestImplementation(libs.espresso.core)
+/*
afterEvaluate {
"androidDebugImplementation"(libs.androidx.compose.uiTooling)
}
+*/
}
mavenPublishing {