Skip to content

Commit efcee60

Browse files
committed
test(android): enable gradle deprecation warnings, fix jacoco deprecation
this prepares the e2e app for gradle 9
1 parent 2fb44ba commit efcee60

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

tests/.detoxrc.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ module.exports = {
2323
'android.debug': {
2424
type: 'android.apk',
2525
binaryPath: 'android/app/build/outputs/apk/debug/app-debug.apk',
26-
build: 'cd android && ./gradlew assembleDebug assembleAndroidTest lintDebug -DtestBuildType=debug && cd ..',
26+
build: 'cd android && ./gradlew assembleDebug assembleAndroidTest lintDebug -DtestBuildType=debug --warning-mode all && cd ..',
2727
reversePorts: [
2828
8080,
2929
8081,

tests/android/app/jacoco.gradle

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ task jacocoTestReport(type: JacocoReport, dependsOn: ['testDebugUnitTest', 'conn
6868

6969
reports {
7070
xml.required = true
71-
html.destination htmlOutDir
71+
html.outputLocation = htmlOutDir
7272
}
7373

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

9999
reports {
100100
xml.required = true
101-
html.destination htmlOutDir
101+
html.outputLocation = htmlOutDir
102102
}
103103

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

124124
reports {
125125
xml.required = true
126-
html.destination htmlOutDir
126+
html.outputLocation = htmlOutDir
127127
}
128128

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

0 commit comments

Comments
 (0)