| import org.jetbrains.kotlin.gradle.tasks.KotlinCompile |
| |
| import static androidx.build.dependencies.DependenciesKt.* |
| |
| plugins { |
| id("AndroidXPlugin") |
| id("com.android.library") |
| id("AndroidXUiPlugin") |
| id("org.jetbrains.kotlin.android") |
| } |
| |
| dependencies { |
| kotlinPlugin project(path: ":compose:compose-compiler") |
| |
| implementation(KOTLIN_STDLIB) |
| |
| implementation project(":compose:runtime:runtime") |
| implementation project(":compose:integration-tests:demos:common") |
| implementation project(":compose:ui:ui") |
| implementation project(":compose:foundation:foundation") |
| implementation project(":compose:foundation:foundation-layout") |
| implementation project(":compose:foundation:foundation-text") |
| implementation project(":compose:ui:ui-text") |
| implementation project(":compose:ui:ui-text:samples") |
| } |
| |
| android { |
| tasks.withType(KotlinCompile).configureEach { |
| kotlinOptions { |
| useIR = true |
| } |
| } |
| } |