Fix conflict to use gradle task connectedCheck

This commit is contained in:
Shinokuni 2020-03-23 19:33:45 +01:00
parent 209070abd6
commit b103ed3a01
2 changed files with 6 additions and 1 deletions

View File

@ -27,5 +27,5 @@ jobs:
uses: ReactiveCircus/android-emulator-runner@v2.5.0 uses: ReactiveCircus/android-emulator-runner@v2.5.0
with: with:
api-level: 29 api-level: 29
script: ./gradlew app:connectedAndroidTest readropsdb:connectedAndroidTest script: ./gradlew connectedCheck

View File

@ -39,6 +39,11 @@ dependencies {
implementation fileTree(dir: 'libs', include: ['*.jar']) implementation fileTree(dir: 'libs', include: ['*.jar'])
implementation project(':readropsdb') implementation project(':readropsdb')
// xpp3 has a conflict with kxml when running connectedCheck task
configurations {
all*.exclude group: 'xpp3', module: 'xpp3'
}
implementation "androidx.core:core-ktx:1.2.0" implementation "androidx.core:core-ktx:1.2.0"
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version" implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version"
implementation 'androidx.appcompat:appcompat:1.1.0' implementation 'androidx.appcompat:appcompat:1.1.0'