X-Git-Url: https://git.ktnx.net/?p=mobile-ledger.git;a=blobdiff_plain;f=app%2Fbuild.gradle;h=0e6979a78ddefdfd5353c8506e0d91565f89904b;hp=d21f3ee58449b9361753f818d85380bf7cd716f7;hb=0d9563b422ebc47fb57753e812c68bbbb1d4a8f2;hpb=0ef53a968c083b3c4d054eed72febf3610538dc2 diff --git a/app/build.gradle b/app/build.gradle index d21f3ee5..0e6979a7 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -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 { @@ -52,10 +61,13 @@ android { dependencies { implementation 'androidx.lifecycle:lifecycle-livedata-ktx:2.2.0' implementation 'androidx.lifecycle:lifecycle-viewmodel-ktx:2.2.0' - def nav_version = '2.3.1' + 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' @@ -66,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 {