Skip to content

Commit

Permalink
fix: inferredKeepRules.pro lookup in test module
Browse files Browse the repository at this point in the history
  • Loading branch information
CAMOBAP committed Jun 23, 2024
1 parent ec5ebbe commit 9acfc0d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,8 @@ jobs:
with:
name: androidTest-minified-results
path: |
test/build
test/build/outputs/androidTest-results
test/build/reports/androidTests
test-benchmark:
name: 'Test Benchmark'
Expand Down
2 changes: 1 addition & 1 deletion test/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ if (project.hasProperty("testingMinimizedBuild")) {
tasks.register("postInferReleaseAndroidTestKeepRulesForKeeper") {
doLast {
def sourceFile = file("${projectDir}/test-proguard-rules.pro")
def destinationFile = file("${project.buildDir}/intermediates/keeper/releaseAndroidTest/inferredKeepRules.pro")
def destinationFile = fileTree(dir: "${project.buildDir}/intermediates/keeper", include: '**/inferredKeepRules.pro').find { true }

if (sourceFile.exists() && destinationFile.exists()) {
def sourceText = sourceFile.text
Expand Down

0 comments on commit 9acfc0d

Please sign in to comment.