Skip to content

Commit 5020d17

Browse files
committed
gradle: use += when possible
Signed-off-by: Jason A. Donenfeld <[email protected]>
1 parent eec0e6a commit 5020d17

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

tunnel/build.gradle.kts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,8 +52,8 @@ android {
5252
}
5353
}
5454
lint {
55-
disable.add("LongLogTag")
56-
disable.add("NewApi")
55+
disable += "LongLogTag"
56+
disable += "NewApi"
5757
}
5858
publishing {
5959
singleVariant("release") {

ui/build.gradle.kts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -49,9 +49,9 @@ android {
4949
}
5050
}
5151
lint {
52-
disable.add("LongLogTag")
53-
warning.add("MissingTranslation")
54-
warning.add("ImpliedQuantity")
52+
disable += "LongLogTag"
53+
warning += "MissingTranslation"
54+
warning += "ImpliedQuantity"
5555
}
5656
}
5757

0 commit comments

Comments
 (0)