Skip to content

Commit 0aa678d

Browse files
committed
removed debug code
1 parent cb5d846 commit 0aa678d

1 file changed

Lines changed: 0 additions & 22 deletions

File tree

app/build.gradle

Lines changed: 0 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -62,10 +62,6 @@ android {
6262
variant.outputs.all {
6363
outputFileName = "release.apk"
6464
}
65-
} else {
66-
variant.mergeResourcesProvider.configure { mergeTask ->
67-
mergeTask.dependsOn tasks.named("copyDebugGithubToken")
68-
}
6965
}
7066
}
7167
}
@@ -221,24 +217,6 @@ hilt {
221217
enableAggregatingTask = true
222218
}
223219

224-
tasks.register("copyDebugGithubToken") {
225-
doLast {
226-
def sourceFile = file("src/androidTest/assets/dummy_strings_private_app_pref.xml")
227-
def destinationFile = file("src/androidTest/res/values/dummy_strings_private_app_pref.xml")
228-
229-
destinationFile.parentFile.mkdirs()
230-
231-
if (sourceFile.exists()) {
232-
destinationFile.withOutputStream { out ->
233-
sourceFile.withInputStream { inStream ->
234-
out << inStream
235-
}
236-
}
237-
println "$destinationFile copied for Debug build"
238-
}
239-
}
240-
}
241-
242220
tasks.register('uiTests', Exec) {
243221
commandLine "../gradlew",
244222
"connectedAndroidTest",

0 commit comments

Comments
 (0)