| import org.jetbrains.kotlin.gradle.tasks.KotlinCompile |
| |
| import static androidx.build.dependencies.DependenciesKt.* |
| |
| plugins { |
| id("AndroidXPlugin") |
| id("com.android.application") |
| id("org.jetbrains.kotlin.android") |
| } |
| |
| dependencies { |
| implementation(project(":ui:ui-android-view:integration-tests:ui-android-view-demos")) |
| implementation(project(":ui:ui-animation:integration-tests:ui-animation-demos")) |
| implementation(project(":ui:ui-framework:integration-tests:ui-framework-demos")) |
| implementation(project(":ui:ui-layout:integration-tests:ui-layout-demos")) |
| implementation(project(":ui:ui-material:integration-tests:ui-material-demos")) |
| implementation(project(":ui:ui-material:integration-tests:ui-material-studies")) |
| implementation(project(":ui:ui-foundation:integration-tests:ui-foundation-demos")) |
| implementation(project(":ui:ui-text:integration-tests:ui-text-demos")) |
| implementation(KOTLIN_STDLIB) |
| |
| androidTestImplementation project(':ui:ui-test') |
| androidTestImplementation(JUNIT) |
| androidTestImplementation('androidx.test.ext:junit:1.1.0') |
| androidTestImplementation(ANDROIDX_TEST_RULES) |
| androidTestImplementation(ESPRESSO_CORE) |
| } |
| |
| android { |
| defaultConfig { |
| minSdkVersion 21 |
| } |
| // Kotlin generates kotlin_module files based off the gradle *sub*module name, ignoring the |
| // parent project - this means that we generate multiple of these files for any project with a |
| // :samples subproject |
| packagingOptions { |
| exclude 'META-INF/samples_debug.kotlin_module' |
| } |
| } |
| |
| androidx { |
| // b/142788501: Set toolingProject to true so Dokka does not generate reference docs for this project |
| toolingProject = true |
| } |