Skip to content

Commit 6a062f3

Browse files
committed
Replaces output.upToDateWhen with onlyIf
1 parent ff9d1c6 commit 6a062f3

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

sqlcipher/build.gradle

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -118,9 +118,9 @@ def generateAmalgamation = tasks.register("generateAmalgamation") {
118118
}
119119
}
120120
}
121-
outputs.upToDateWhen {
122-
return amalgamationSource.exists()
123-
&& amalgamationHeader.exists()
121+
onlyIf {
122+
return !(amalgamationSource.exists()
123+
&& amalgamationHeader.exists())
124124
}
125125
}
126126

0 commit comments

Comments
 (0)