| import androidx.build.LibraryType |
| |
| plugins { |
| id("AndroidXComposePlugin") |
| id("AndroidXPlugin") |
| id("org.jetbrains.kotlin.android") |
| id("com.android.library") |
| } |
| |
| dependencies { |
| implementation(libs.kotlinStdlib) |
| api("androidx.annotation:annotation:1.4.0") |
| api("androidx.compose.runtime:runtime:1.1.1") |
| } |
| |
| android { |
| defaultConfig { |
| minSdkVersion 21 |
| } |
| namespace "androidx.glance.preview" |
| } |
| |
| androidx { |
| name = "Glance Preview" |
| type = LibraryType.PUBLISHED_LIBRARY |
| mavenVersion = LibraryVersions.GLANCE_PREVIEW |
| inceptionYear = "2022" |
| description = "Glance preview library. This library provides the API required for marking the" + |
| "glance @Composable components that should have preview in the Android Studio." |
| } |