Skip to content

Commit c48be38

Browse files
author
Mihail Slavchev
committed
cache result only in case of success
1 parent 8ef4671 commit c48be38

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • build/project-template-gradle/build-tools/android-static-binding-generator

build/project-template-gradle/build-tools/android-static-binding-generator/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,6 @@ task generateInterfaceNamesList() {
3737

3838
args str.toArray()
3939
}
40-
java.nio.file.Files.write(java.nio.file.Paths.get(cachedJarsFilePath), [current.toString()], utf8)
4140
}
4241
}
4342
}
@@ -92,6 +91,7 @@ task generateBindings() {
9291

9392
args str.toArray()
9493
}
94+
java.nio.file.Files.write(java.nio.file.Paths.get(cachedJarsFilePath), [current.toString()], utf8)
9595
}
9696
}
9797
}

0 commit comments

Comments
 (0)