diff --git a/build.gradle b/build.gradle index 7d040be5..726f355c 100644 --- a/build.gradle +++ b/build.gradle @@ -50,6 +50,7 @@ android { buildFeatures { compose true + dataBinding true } composeOptions { @@ -91,9 +92,6 @@ android { } def keystorePropertiesFile = rootProject.file('keystore.properties') - buildFeatures { - dataBinding true - } if (keystorePropertiesFile.exists()) { def keystoreProperties = new Properties() keystoreProperties.load(keystorePropertiesFile.newDataInputStream()) @@ -193,7 +191,7 @@ dependencies { implementation "androidx.compose.foundation:foundation-layout:1.2.0-alpha01" implementation "androidx.compose.runtime:runtime-livedata:1.2.0-alpha01" implementation "androidx.compose.material:material:1.2.0-alpha01" - implementation "com.google.android.material:compose-theme-adapter:1.1.2" + implementation "com.google.android.material:compose-theme-adapter:1.1.3" } // using a task as a preBuild dependency instead of a function that takes some time insures that it runs