unplugged-system/external/robolectric/integration_tests/androidx/build.gradle

45 lines
1.1 KiB
Groovy
Raw Permalink Normal View History

import org.robolectric.gradle.AndroidProjectConfigPlugin
apply plugin: 'com.android.library'
apply plugin: AndroidProjectConfigPlugin
android {
compileSdk 33
namespace 'org.robolectric.integrationtests.androidx'
defaultConfig {
minSdk 16
targetSdk 33
}
compileOptions {
sourceCompatibility = '1.8'
targetCompatibility = '1.8'
}
testOptions {
unitTests {
includeAndroidResources = true
}
}
}
dependencies {
implementation libs.androidx.appcompat
implementation libs.androidx.window
// Testing dependencies
testImplementation project(path: ':testapp')
testImplementation project(":robolectric")
testImplementation libs.junit4
testImplementation libs.androidx.test.core
testImplementation libs.androidx.core
testImplementation libs.androidx.test.runner
testImplementation libs.androidx.test.rules
testImplementation libs.androidx.test.espresso.intents
testImplementation libs.androidx.test.ext.truth
testImplementation libs.androidx.test.ext.junit
testImplementation libs.truth
}