/**
 * This file was created using the `create_project.py` script located in the
 * `<AndroidX root>/development/project-creator` directory.
 *
 * Please use that script when creating a new project, rather than copying an existing project and
 * modifying its settings.
 */
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.8.1")
    api("androidx.compose.runtime:runtime:1.1.1")
    api(project(":glance:glance"))
    implementation("androidx.compose.material:material:1.3.0")
}

android {
    namespace = "androidx.glance.material"
}

androidx {
    name = "Glance Material"
    type = LibraryType.PUBLISHED_LIBRARY
    inceptionYear = "2022"
    description = "Glance Material 2 integration library." +
            " This library provides interop APIs with Material 2."
    legacyDisableKotlinStrictApiMode = true
}

