Skip to content

Which JAR?

xcesco edited this page May 14, 2018 · 8 revisions

Kripton is composed of different modules or artefacts (JARS). Every module is a model (JAR file). If you need all functionality just include kripton-android-library, that includes all other modules.

deployment

Legend:

  • kripton: allows to persist POJO in JSON and XML persistence. This module refers to the FasterXML Jackson Library to work with JSON. This library size is about 500 KBytes. Keep in mind this thing if you don't need to persists in JSON and you want to reduce your APK size. If you want to use different data format, you need also to include:
    • kripton-dataformat-smile: for SMILE format
    • kripton-dataformat-yaml: for YAML format
    • kripton-dataformat-properties: for (Java) Properties format
    • kripton-dataformat-cbor: for CBOR format
  • kripton-android-library: This library includes all other library needed to persist Java objects in different ways.
  • kripton-retrofit-converter: allow to integrate Kripton and Retrofit.
  • kripton-orm: it allows to store data on SQLite database
  • kripton-shared-preferences: insert data into share preference
  • kripton-integration-test: allows to test database migration and schema verification

Summary

If you want it at all, just use kripton-android-library dependency, otherwise select the others modules. Kripton includes a version of Retrofit, so you don't need to include twice in your dependencies.

Table of Contents

Query definition

Features

Relations

Multithread supports

Modularization

Annotations for data convertion

Annotations for SQLite ORM

Annotations for shared preferences

Clone this wiki locally