Louis Pullen-Freilich | 18a13a6 | 2019-07-08 16:33:39 +0100 | [diff] [blame] | 1 | import org.jetbrains.kotlin.gradle.tasks.KotlinCompile |
| 2 | |
| 3 | import static androidx.build.dependencies.DependenciesKt.* |
| 4 | |
| 5 | plugins { |
| 6 | id("AndroidXPlugin") |
| 7 | id("com.android.library") |
| 8 | id("AndroidXUiPlugin") |
| 9 | id("org.jetbrains.kotlin.android") |
| 10 | } |
| 11 | |
| 12 | dependencies { |
Aurimas Liutikas | 54cfccf | 2019-11-21 13:11:30 -0800 | [diff] [blame] | 13 | kotlinPlugin project(path: ":compose:compose-compiler") |
Louis Pullen-Freilich | 18a13a6 | 2019-07-08 16:33:39 +0100 | [diff] [blame] | 14 | |
Louis Pullen-Freilich | 08e53df | 2019-10-24 20:00:35 +0100 | [diff] [blame] | 15 | implementation(KOTLIN_STDLIB) |
Louis Pullen-Freilich | c40b87d | 2019-07-09 19:23:35 +0100 | [diff] [blame] | 16 | |
| 17 | implementation "androidx.activity:activity:1.0.0-alpha01" |
Nick Anthony | a356776 | 2019-12-13 14:33:50 -0500 | [diff] [blame] | 18 | api "androidx.annotation:annotation:1.1.0" |
Louis Pullen-Freilich | c40b87d | 2019-07-09 19:23:35 +0100 | [diff] [blame] | 19 | |
| 20 | implementation project(":compose:compose-runtime") |
| 21 | implementation project(":ui:ui-core") |
Louis Pullen-Freilich | 18a13a6 | 2019-07-08 16:33:39 +0100 | [diff] [blame] | 22 | implementation project(':ui:ui-framework') |
Matvei Malkov | 1a41de3 | 2019-08-15 16:08:40 +0100 | [diff] [blame] | 23 | implementation project(':ui:ui-foundation') |
Louis Pullen-Freilich | 18a13a6 | 2019-07-08 16:33:39 +0100 | [diff] [blame] | 24 | implementation project(':ui:ui-layout') |
Louis Pullen-Freilich | c40b87d | 2019-07-09 19:23:35 +0100 | [diff] [blame] | 25 | implementation project(':ui:ui-text') |
Florina Muntenescu | 7332b43 | 2019-10-01 16:33:30 -0300 | [diff] [blame] | 26 | implementation project(':ui:ui-text:integration-tests:ui-text-samples') |
Louis Pullen-Freilich | 18a13a6 | 2019-07-08 16:33:39 +0100 | [diff] [blame] | 27 | } |
| 28 | |
| 29 | android { |
| 30 | tasks.withType(KotlinCompile).configureEach { |
| 31 | kotlinOptions { |
| 32 | useIR = true |
| 33 | } |
| 34 | } |
| 35 | } |
Nick Anthony | f2db4e3 | 2019-10-15 18:59:58 -0400 | [diff] [blame] | 36 | |
| 37 | androidx { |
| 38 | // b/142788501: Set toolingProject to true so Dokka does not generate reference docs for this project |
| 39 | toolingProject = true |
| 40 | } |