X-Git-Url: https://git.ktnx.net/?p=mobile-ledger.git;a=blobdiff_plain;f=app%2Fbuild.gradle;h=0e6979a78ddefdfd5353c8506e0d91565f89904b;hp=c73b915723a97986d4a4eae3de5da659a06bc840;hb=e20e0d8049c843abfd8b9e2fd9da7461f9f8ab1c;hpb=31bd68f001d3accd01d8e7c91c423c00778a10eb diff --git a/app/build.gradle b/app/build.gradle index c73b9157..0e6979a7 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -1,5 +1,5 @@ /* - * Copyright © 2020 Damyan Ivanov. + * Copyright © 2021 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 @@ -27,6 +27,15 @@ android { versionCode 37 versionName '0.16.0' testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner" + javaCompileOptions { + annotationProcessorOptions { + arguments += [ + "room.schemaLocation" : "$projectDir/schemas".toString(), + "room.incremental" : "true", + "room.expandProjection": "true" + ] + } + } } buildTypes { release { @@ -50,10 +59,15 @@ android { } dependencies { - def nav_version = '2.3.1' + implementation 'androidx.lifecycle:lifecycle-livedata-ktx:2.2.0' + implementation 'androidx.lifecycle:lifecycle-viewmodel-ktx:2.2.0' + def room_version = '2.2.6' + implementation "androidx.room:room-runtime:$room_version" + annotationProcessor "androidx.room:room-compiler:$room_version" + def nav_version = '2.3.2' implementation fileTree(include: ['*.jar'], dir: 'libs') implementation 'androidx.legacy:legacy-support-v4:1.0.0' - implementation 'com.google.android.material:material:1.3.0-alpha04' + implementation 'com.google.android.material:material:1.3.0-rc01' implementation 'androidx.constraintlayout:constraintlayout:2.0.4' implementation 'androidx.lifecycle:lifecycle-extensions:2.2.0' implementation 'androidx.recyclerview:recyclerview:1.1.0' @@ -64,7 +78,7 @@ dependencies { implementation 'com.fasterxml.jackson.module:jackson-modules-java8:2.11.3' implementation "androidx.navigation:navigation-fragment:$nav_version" implementation "androidx.navigation:navigation-ui:$nav_version" - implementation 'androidx.appcompat:appcompat:1.3.0-alpha02' + implementation 'androidx.appcompat:appcompat:1.3.0-beta01' } allprojects {