Skip to content

Commit 62e6895

Browse files
authored
Replace deprecated viewBinding { enable = true } in Gradle (#2623)
1 parent ae9a374 commit 62e6895

1 file changed

Lines changed: 1 addition & 4 deletions

File tree

app/build.gradle.kts

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -47,10 +47,6 @@ android {
4747
includeInBundle = false
4848
}
4949

50-
viewBinding {
51-
enable = true
52-
}
53-
5450
signingConfigs {
5551
// We just use SIGNING_KEY_ALIAS here since it won't change
5652
// so won't kill the configuration cache.
@@ -161,6 +157,7 @@ android {
161157
buildFeatures {
162158
buildConfig = true
163159
resValues = true
160+
viewBinding = true
164161
}
165162

166163
packaging {

0 commit comments

Comments
 (0)