-
Notifications
You must be signed in to change notification settings - Fork 71
Closed
Labels
good first issueGood for newcomersGood for newcomerskotlinAffects the Kotlin library.Affects the Kotlin library.metaIssues about other issues, project config, CI, etc.Issues about other issues, project config, CI, etc.
Milestone
Description
If you think this will be the same for all apps you could just extract it into a separate .gradle file and apply to demo apps.
Something like:
./buildscript/configure-sample-app.gradle
apply plugin: 'com.android.application'
android {
defaultConfig {
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
}
testOptions {
animationsDisabled = true
}
}
dependencies {
androidTestImplementation deps.test.androidx.espresso.core
androidTestImplementation deps.test.androidx.junitExt
androidTestImplementation deps.test.androidx.uiautomator
}
and just apply that at the top:
apply from: rootProject.file('.buildscript/configure-sample-app.gradle')
apply plugin: 'kotlin-android'
android rootProject.ext.defaultAndroidConfig
android {
defaultConfig {
......
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
good first issueGood for newcomersGood for newcomerskotlinAffects the Kotlin library.Affects the Kotlin library.metaIssues about other issues, project config, CI, etc.Issues about other issues, project config, CI, etc.