mirror of
https://github.com/quik-sms/quik.git
synced 2026-11-18 11:58:52 +01:00
Upgrade Realm to 3.7.0
This commit is contained in:
+1
-1
@@ -9,7 +9,7 @@ buildscript {
|
||||
dependencies {
|
||||
classpath 'com.android.tools.build:gradle:3.0.0-beta5'
|
||||
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
|
||||
classpath "io.realm:realm-gradle-plugin:3.3.1"
|
||||
classpath "io.realm:realm-gradle-plugin:3.7.0"
|
||||
|
||||
// NOTE: Do not place your application dependencies here; they belong
|
||||
// in the individual module build.gradle files
|
||||
|
||||
+2
-2
@@ -49,8 +49,8 @@ dependencies {
|
||||
compile "org.jetbrains.kotlin:kotlin-stdlib-jre7:$kotlin_version"
|
||||
kapt "android.arch.lifecycle:compiler:1.0.0-alpha9"
|
||||
kapt "com.google.dagger:dagger-compiler:2.9"
|
||||
kapt 'io.realm:realm-annotations:3.3.1'
|
||||
kapt 'io.realm:realm-annotations-processor:3.3.1'
|
||||
kapt 'io.realm:realm-annotations:3.7.0'
|
||||
kapt 'io.realm:realm-annotations-processor:3.7.0'
|
||||
provided 'javax.annotation:jsr250-api:1.0'
|
||||
}
|
||||
|
||||
|
||||
@@ -17,6 +17,7 @@ class QKApplication : Application() {
|
||||
|
||||
Realm.init(this)
|
||||
Realm.setDefaultConfiguration(RealmConfiguration.Builder()
|
||||
.compactOnLaunch()
|
||||
.deleteRealmIfMigrationNeeded()
|
||||
.build())
|
||||
|
||||
|
||||
Reference in New Issue
Block a user