Skip to content

Commit

Permalink
test(android): enable gradle deprecation warnings, fix jacoco depreca…
Browse files Browse the repository at this point in the history
…tion

this prepares the e2e app for gradle 9
  • Loading branch information
mikehardy committed Nov 16, 2024
1 parent 2fb44ba commit efcee60
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion tests/.detoxrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ module.exports = {
'android.debug': {
type: 'android.apk',
binaryPath: 'android/app/build/outputs/apk/debug/app-debug.apk',
build: 'cd android && ./gradlew assembleDebug assembleAndroidTest lintDebug -DtestBuildType=debug && cd ..',
build: 'cd android && ./gradlew assembleDebug assembleAndroidTest lintDebug -DtestBuildType=debug --warning-mode all && cd ..',
reversePorts: [
8080,
8081,
Expand Down
6 changes: 3 additions & 3 deletions tests/android/app/jacoco.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ task jacocoTestReport(type: JacocoReport, dependsOn: ['testDebugUnitTest', 'conn

reports {
xml.required = true
html.destination htmlOutDir
html.outputLocation = htmlOutDir
}

def fileFilter = ['**/R.class', '**/R$*.class', '**/BuildConfig.*', '**/Manifest*.*', '**/*Test*.*', 'android/**/*.*']
Expand Down Expand Up @@ -98,7 +98,7 @@ task jacocoUnitTestReport(type: JacocoReport, dependsOn: ['testDebugUnitTest'])

reports {
xml.required = true
html.destination htmlOutDir
html.outputLocation = htmlOutDir
}

def fileFilter = ['**/R.class', '**/R$*.class', '**/BuildConfig.*', '**/Manifest*.*', '**/*Test*.*', 'android/**/*.*']
Expand All @@ -123,7 +123,7 @@ task jacocoAndroidTestReport(type: JacocoReport) {

reports {
xml.required = true
html.destination htmlOutDir
html.outputLocation = htmlOutDir
}

def fileFilter = ['**/R.class', '**/R$*.class', '**/BuildConfig.*', '**/Manifest*.*', '**/*Test*.*', 'android/**/*.*']
Expand Down

0 comments on commit efcee60

Please sign in to comment.