X-Git-Url: https://git.ktnx.net/?p=mobile-ledger.git;a=blobdiff_plain;f=app%2Fbuild.gradle;h=732856c768c92700c01971cf4d07b06a31aeb92a;hp=119bf6f096b489294b63ff1d76e994dff014279f;hb=e20e67bf08e669a39a128dbd4c11021b624bbdba;hpb=2fdfaf2399baf70cae199aa855527aa3250eaeb5 diff --git a/app/build.gradle b/app/build.gradle index 119bf6f0..732856c7 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -23,8 +23,9 @@ android { applicationId "net.ktnx.mobileledger" minSdkVersion 22 targetSdkVersion 28 - versionCode 31 - versionName '0.12.0' + vectorDrawables.useSupportLibrary true + versionCode 33 + versionName '0.13.1' testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner" } buildTypes { @@ -45,22 +46,33 @@ android { } productFlavors { } + viewBinding.enabled = true } dependencies { - def nav_version = '2.2.0-rc04' + def nav_version = '2.3.0-alpha03' implementation fileTree(include: ['*.jar'], dir: 'libs') implementation 'androidx.appcompat:appcompat:1.1.0' implementation 'androidx.legacy:legacy-support-v4:1.0.0' - implementation 'com.google.android.material:material:1.2.0-alpha02' + implementation 'com.google.android.material:material:1.2.0-alpha05' implementation 'androidx.constraintlayout:constraintlayout:1.1.3' - implementation 'androidx.lifecycle:lifecycle-extensions:2.2.0-rc03' + implementation 'androidx.lifecycle:lifecycle-extensions:2.2.0' implementation 'androidx.recyclerview:recyclerview:1.1.0' - testImplementation 'junit:junit:4.12' - androidTestImplementation 'androidx.test:runner:1.3.0-alpha03' - androidTestImplementation 'androidx.test.espresso:espresso-core:3.3.0-alpha03' + testImplementation 'junit:junit:4.13' + androidTestImplementation 'androidx.test:runner:1.3.0-alpha04' + androidTestImplementation 'androidx.test.espresso:espresso-core:3.3.0-alpha04' implementation 'org.jetbrains:annotations:15.0' - implementation 'com.fasterxml.jackson.module:jackson-modules-java8:2.10.1' + implementation 'com.fasterxml.jackson.module:jackson-modules-java8:2.10.2' implementation "androidx.navigation:navigation-fragment:$nav_version" implementation "androidx.navigation:navigation-ui:$nav_version" } + +allprojects { + gradle.projectsEvaluated { + tasks.withType(JavaCompile) { + options.compilerArgs << + "-Xlint:deprecation" << + "-Xlint:unchecked" + } + } +}