Realm Java extensions and helpers for working with Realm using Kotlin.
Add the jitpack url to the project:
allprojects {
repositories {
...
maven { url "https://jitpack.io" }
}
}
then, in your app build.gradle
dependencies {
implementation 'com.github.FunkyMuse.Regalia:latest-version'
//for gson support
implementation 'com.github.FunkyMuse.Regalia:regalia-gson:latest-version'
//for LoganSquare support
implementation 'com.github.FunkyMuse.Regalia:regalia-logansquare:latest-version'
//for Moshi support
implementation 'com.github.FunkyMuse.Regalia:regalia-moshi:latest-version'
//for Parceler support
implementation 'com.github.FunkyMuse.Regalia:regalia-parceler:latest-version'
}
Regalia itself provides usage just with Realm itself, mostly through the Regalia
class.
Other usage is defined in the individual modules README's
Regalia supports Realm's latest version 10.1.1
Based on Regalia Java
Copyright 2017 Commit 451
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.