[Android] Enable ViewBinding in television module

Geoffrey Métais git at videolan.org
Thu Feb 13 11:16:06 CET 2020


vlc-android | branch: master | Geoffrey Métais <geoffrey.metais at gmail.com> | Thu Feb  6 11:41:38 2020 +0100| [b70ead64abfae9f3f96a7a7d6283409456955eee] | committer: Geoffrey Métais

Enable ViewBinding in television module

> https://code.videolan.org/videolan/vlc-android/commit/b70ead64abfae9f3f96a7a7d6283409456955eee
---

 application/television/build.gradle | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/application/television/build.gradle b/application/television/build.gradle
index d5d20bc92..75776524b 100644
--- a/application/television/build.gradle
+++ b/application/television/build.gradle
@@ -11,6 +11,10 @@ android {
 
     kotlinOptions.jvmTarget = "1.8"
 
+    android {
+        viewBinding.enabled = true
+    }
+
     dataBinding {
         enabled = true
     }



More information about the Android mailing list