/*
- * Copyright © 2019 Damyan Ivanov.
+ * Copyright © 2020 Damyan Ivanov.
* This file is part of MoLe.
* MoLe is free software: you can distribute it and/or modify it
* under the term of the GNU General Public License as published by
apply plugin: 'com.android.application'
android {
- compileSdkVersion 28
+ compileSdkVersion 29
defaultConfig {
applicationId "net.ktnx.mobileledger"
minSdkVersion 22
- targetSdkVersion 28
- versionCode 22
- versionName '0.9.2'
+ targetSdkVersion 29
+ vectorDrawables.useSupportLibrary true
+ versionCode 35
+ versionName '0.14.1'
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
}
buildTypes {
}
}
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'
implementation fileTree(include: ['*.jar'], dir: 'libs')
- implementation 'androidx.appcompat:appcompat:1.0.0-beta01'
implementation 'androidx.legacy:legacy-support-v4:1.0.0'
- implementation 'com.google.android.material:material:1.0.0-beta01'
+ implementation 'com.google.android.material:material:1.3.0-alpha01'
implementation 'androidx.constraintlayout:constraintlayout:1.1.3'
- implementation 'androidx.lifecycle:lifecycle-extensions:2.0.0-rc01'
- implementation 'androidx.recyclerview:recyclerview:1.0.0-rc02'
- testImplementation 'junit:junit:4.12'
- androidTestImplementation 'androidx.test:runner:1.1.0-alpha4'
- androidTestImplementation 'androidx.test.espresso:espresso-core:3.1.0-alpha4'
+ 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"
+ }
+ }
}