Created
October 25, 2020 09:17
-
-
Save seanghay/fb7d8f45d9516525d30e4d2362bc7891 to your computer and use it in GitHub Desktop.
Enable ViewBinding
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
plugins { | |
id 'com.android.application' | |
id 'kotlin-android' | |
} | |
android { | |
defaultConfig { | |
... | |
} | |
+ buildFeatures { | |
+ viewBinding true | |
+ } | |
buildTypes { | |
release { | |
minifyEnabled false | |
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro' | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment