1/** 2 * This file was created using the `create_project.py` script located in the 3 * `<AndroidX root>/development/project-creator` directory. 4 * 5 * Please use that script when creating a new project, rather than copying an existing project and 6 * modifying its settings. 7 */ 8import androidx.build.SoftwareType 9 10plugins { 11 id("AndroidXComposePlugin") 12 id("AndroidXPlugin") 13 id("org.jetbrains.kotlin.android") 14 id("com.android.library") 15} 16 17dependencies { 18 implementation(libs.kotlinStdlib) 19 api("androidx.annotation:annotation:1.8.1") 20 api("androidx.compose.runtime:runtime:1.1.1") 21} 22 23android { 24 namespace = "androidx.glance.preview" 25} 26 27androidx { 28 name = "Glance Preview" 29 type = SoftwareType.PUBLISHED_LIBRARY 30 inceptionYear = "2022" 31 description = "Glance preview library. This library provides the API required for marking the" + 32 "glance @Composable components that should have preview in the Android Studio." 33 legacyDisableKotlinStrictApiMode = true 34} 35