diff options
author | Ricki Hirner <hirner@bitfire.at> | 2019-03-16 16:00:17 +0300 |
---|---|---|
committer | Ricki Hirner <hirner@bitfire.at> | 2019-03-16 16:01:36 +0300 |
commit | 0b01d3740aafd5a0f07bfecdd42cb7de2596af2c (patch) | |
tree | f7da560e66171d9b6a20c535d38aa90e9c0aa4b7 /build.gradle | |
parent | a24d07c52c18ad573aff5560f9dd9e74cb32c09a (diff) |
Use ViewModel/data binding for TrustCertificateActivity
Diffstat (limited to 'build.gradle')
-rw-r--r-- | build.gradle | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/build.gradle b/build.gradle index 9415182..4a5e279 100644 --- a/build.gradle +++ b/build.gradle @@ -9,7 +9,7 @@ buildscript { } dependencies { - classpath 'com.android.tools.build:gradle:3.3.1' + classpath 'com.android.tools.build:gradle:3.3.2' classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version" classpath "org.jetbrains.dokka:dokka-android-gradle-plugin:${dokka_version}" } @@ -33,6 +33,8 @@ android { targetSdkVersion 28 } + dataBinding.enabled = true + lintOptions { disable 'MissingTranslation', 'ExtraTranslation' // translations from Transifex are not always up to date disable "OnClick" // doesn't recognize Kotlin onClick methods @@ -48,10 +50,13 @@ dependencies { implementation 'androidx.appcompat:appcompat:1.0.2' implementation 'androidx.cardview:cardview:1.0.0' + implementation 'androidx.lifecycle:lifecycle-extensions:2.0.0' + implementation 'androidx.lifecycle:lifecycle-livedata:2.0.0' + implementation 'androidx.lifecycle:lifecycle-viewmodel-ktx:2.0.0' androidTestImplementation 'androidx.test:runner:1.1.1' androidTestImplementation 'androidx.test:rules:1.1.1' - androidTestImplementation 'com.squareup.okhttp3:mockwebserver:3.12.1' + androidTestImplementation 'com.squareup.okhttp3:mockwebserver:3.12.2' androidTestImplementation 'commons-io:commons-io:2.6' androidTestImplementation 'org.apache.commons:commons-lang3:3.8.1' |