]> git.ktnx.net Git - mobile-ledger.git/blobdiff - app/build.gradle
add -Xlint:deprecation -Xlint:unchecked to compiler arguments
[mobile-ledger.git] / app / build.gradle
index d3cbd33923ddb1ed19d48d994a04e4435b209229..a4f21d8739b5ff0f36448c8415d9ec9afe2fc356 100644 (file)
@@ -23,8 +23,8 @@ android {
         applicationId "net.ktnx.mobileledger"
         minSdkVersion 22
         targetSdkVersion 28
-        versionCode 22
-        versionName '0.9.2'
+        versionCode 31
+        versionName '0.12.0'
         testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
     }
     buildTypes {
@@ -48,16 +48,29 @@ android {
 }
 
 dependencies {
+    def nav_version = '2.3.0-alpha03'
     implementation fileTree(include: ['*.jar'], dir: 'libs')
-    implementation 'androidx.appcompat:appcompat:1.0.0-beta01'
+    implementation 'androidx.appcompat:appcompat:1.1.0'
     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.2.0-alpha05'
     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-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.9.8'
+    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"
+        }
+    }
+}
\ No newline at end of file