Update Room to 2.5.0

This commit is contained in:
Nick Parker 2023-02-23 15:57:43 -06:00
parent 6118e30550
commit cda3dc549b
2 changed files with 4 additions and 3 deletions

View File

@ -31,6 +31,7 @@ project.ext {
libraryVersion = "4.5.3"
}
androidXSQLiteVersion = "2.2.0"
roomVersion = "2.5.0"
androidNdkVersion = "23.0.7599858"
mavenLocalRepositoryPrefix = "file://"
if(project.hasProperty('publishLocal') && publishLocal.toBoolean()){

View File

@ -56,9 +56,9 @@ dependencies {
implementation "androidx.sqlite:sqlite:${rootProject.ext.androidXSQLiteVersion}"
// Needed for the Support API in tests
androidTestImplementation 'androidx.room:room-common:2.3.0'
androidTestImplementation 'androidx.room:room-runtime:2.3.0'
androidTestAnnotationProcessor 'androidx.room:room-compiler:2.3.0'
androidTestImplementation "androidx.room:room-common:${rootProject.ext.roomVersion}"
androidTestImplementation "androidx.room:room-runtime:${rootProject.ext.roomVersion}"
androidTestAnnotationProcessor "androidx.room:room-compiler:${rootProject.ext.roomVersion}"
// Needed for supporting tests
androidTestImplementation 'androidx.test.ext:junit:1.1.3'