summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorJason A. Donenfeld <Jason@zx2c4.com>2023-05-03 15:37:06 +0200
committerJason A. Donenfeld <Jason@zx2c4.com>2023-05-03 15:37:06 +0200
commitd80129ba46bfa4f07edd56e32bfc3f4ee301146f (patch)
tree9e3b88bd36bae845b16f84e658700a9306ec47b2
parent6907663f07fff290e8756c2700a7f6654658cbab (diff)
gradle: use += when possible
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
-rw-r--r--tunnel/build.gradle.kts4
-rw-r--r--ui/build.gradle.kts6
2 files changed, 5 insertions, 5 deletions
diff --git a/tunnel/build.gradle.kts b/tunnel/build.gradle.kts
index 51ae52fe..686051bf 100644
--- a/tunnel/build.gradle.kts
+++ b/tunnel/build.gradle.kts
@@ -55,8 +55,8 @@ android {
}
}
lint {
- disable.add("LongLogTag")
- disable.add("NewApi")
+ disable += "LongLogTag"
+ disable += "NewApi"
}
publishing {
singleVariant("release") {
diff --git a/ui/build.gradle.kts b/ui/build.gradle.kts
index 6b9dfa9e..5c6163af 100644
--- a/ui/build.gradle.kts
+++ b/ui/build.gradle.kts
@@ -54,9 +54,9 @@ android {
}
}
lint {
- disable.add("LongLogTag")
- warning.add("MissingTranslation")
- warning.add("ImpliedQuantity")
+ disable += "LongLogTag"
+ warning += "MissingTranslation"
+ warning += "ImpliedQuantity"
}
}