X-Git-Url: https://git.ktnx.net/?p=mobile-ledger.git;a=blobdiff_plain;f=app%2Fbuild.gradle;h=f5b092c5b3de3279c969657951dc7e588af96c34;hp=e55ba75ef78559de91c6533a6446b708b46bcd44;hb=3ef5a894db348248dfa64130629f80a350eb407a;hpb=c8b61550b59b1308e846a93880dce928ec29102e diff --git a/app/build.gradle b/app/build.gradle index e55ba75e..f5b092c5 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -22,9 +22,10 @@ android { defaultConfig { applicationId "net.ktnx.mobileledger" minSdkVersion 22 - targetSdkVersion 28 - versionCode 29 - versionName '0.10.3' + targetSdkVersion 29 + vectorDrawables.useSupportLibrary true + versionCode 33 + versionName '0.13.1' testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner" } buildTypes { @@ -38,26 +39,40 @@ android { } } sourceSets { main { assets.srcDirs = ['src/main/assets', 'src/main/assets/'] } } - buildToolsVersion '28.0.3' + buildToolsVersion '29.0.3' compileOptions { sourceCompatibility JavaVersion.VERSION_1_8 targetCompatibility JavaVersion.VERSION_1_8 } productFlavors { } + buildFeatures.viewBinding = true } dependencies { + def nav_version = '2.3.0-beta01' implementation fileTree(include: ['*.jar'], dir: 'libs') - implementation 'androidx.appcompat:appcompat:1.1.0-alpha04' implementation 'androidx.legacy:legacy-support-v4:1.0.0' - implementation 'com.google.android.material:material:1.1.0-alpha05' + implementation 'com.google.android.material:material:1.3.0-alpha01' implementation 'androidx.constraintlayout:constraintlayout:1.1.3' - implementation 'androidx.lifecycle:lifecycle-extensions:2.1.0-alpha04' - implementation 'androidx.recyclerview:recyclerview:1.1.0-alpha04' - testImplementation 'junit:junit:4.12' - androidTestImplementation 'androidx.test:runner:1.2.0-alpha04' - androidTestImplementation 'androidx.test.espresso:espresso-core:3.2.0-alpha04' + 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-rc01' + androidTestImplementation 'androidx.test.espresso:espresso-core:3.3.0-rc01' implementation 'org.jetbrains:annotations:15.0' - implementation 'com.fasterxml.jackson.module:jackson-modules-java8:2.9.8' + 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.3.0-alpha01' +} + +allprojects { + gradle.projectsEvaluated { + tasks.withType(JavaCompile) { + options.compilerArgs << + "-Xlint:deprecation" << + "-Xlint:unchecked" + } + } }