Move glance away from Compose multiplatform setup
These are just regular Android libraries, move them to use Kotlin Gradle
plugin directly with appropriate directory structure (src/main,
src/androidTest).
Test: ./gradlew glance:glance:assembleAndroidTest
Change-Id: Ia918309f23d0916f01010f542caf053bd268bcb4
diff --git a/glance/glance-preview/build.gradle b/glance/glance-preview/build.gradle
index 0857b2ee..f6be751 100644
--- a/glance/glance-preview/build.gradle
+++ b/glance/glance-preview/build.gradle
@@ -1,15 +1,12 @@
-import androidx.build.AndroidXComposePlugin
import androidx.build.LibraryType
plugins {
id("AndroidXComposePlugin")
id("AndroidXPlugin")
+ id("org.jetbrains.kotlin.android")
id("com.android.library")
}
-// Disable multi-platform; this will only be used on Android.
-AndroidXComposePlugin.applyAndConfigureKotlinPlugin(project, /* isMultiplatformEnabled= */false)
-
dependencies {
implementation(libs.kotlinStdlib)
api("androidx.annotation:annotation:1.4.0")