X-Git-Url: https://git.ktnx.net/?p=mobile-ledger.git;a=blobdiff_plain;f=app%2Fbuild.gradle;h=4385164a5ba13cd82ec4ad1999f6e67f42af3655;hp=4cf7a45ba1040dcd0ba210376fd5d2e56507248b;hb=cce8c76a46c2170d1a96bad4572cc519b456fb6d;hpb=4e332dfc74b5c56b6895a0ce3c8cb4721dc2a72d diff --git a/app/build.gradle b/app/build.gradle index 4cf7a45b..4385164a 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -22,10 +22,11 @@ android { defaultConfig { applicationId "net.ktnx.mobileledger" minSdkVersion 22 - targetSdkVersion 28 - versionCode 14 - versionName '0.4.10' - testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner" + targetSdkVersion 29 + vectorDrawables.useSupportLibrary true + versionCode 33 + versionName '0.13.1' + testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner" } buildTypes { release { @@ -45,18 +46,33 @@ android { } productFlavors { } + viewBinding.enabled = true } dependencies { + def nav_version = '2.3.0-alpha06' implementation fileTree(include: ['*.jar'], dir: 'libs') - implementation 'com.android.support:appcompat-v7:28.0.0' - implementation 'com.android.support:support-v4:28.0.0' - implementation 'com.android.support:design:28.0.0' - implementation 'com.android.support.constraint:constraint-layout:1.1.3' - implementation 'android.arch.lifecycle:extensions:1.1.1' - implementation 'com.android.support:recyclerview-v7:28.0.0' - testImplementation 'junit:junit:4.12' - androidTestImplementation 'com.android.support.test:runner:1.0.2' - androidTestImplementation 'com.android.support.test.espresso:espresso-core:3.0.2' + implementation 'androidx.legacy:legacy-support-v4:1.0.0' + implementation 'com.google.android.material:material:1.2.0-alpha06' + implementation 'androidx.constraintlayout:constraintlayout:1.1.3' + implementation 'androidx.lifecycle:lifecycle-extensions:2.2.0' + implementation 'androidx.recyclerview:recyclerview:1.1.0' + testImplementation 'junit:junit:4.13' + androidTestImplementation 'androidx.test:runner:1.3.0-beta01' + androidTestImplementation 'androidx.test.espresso:espresso-core:3.3.0-beta01' implementation 'org.jetbrains:annotations:15.0' + implementation 'com.fasterxml.jackson.module:jackson-modules-java8:2.11.0' + implementation "androidx.navigation:navigation-fragment:$nav_version" + implementation "androidx.navigation:navigation-ui:$nav_version" + implementation 'androidx.appcompat:appcompat:1.2.0-beta01' +} + +allprojects { + gradle.projectsEvaluated { + tasks.withType(JavaCompile) { + options.compilerArgs << + "-Xlint:deprecation" << + "-Xlint:unchecked" + } + } }