Skip to content

Android studio configuration

xcesco edited this page Dec 29, 2020 · 20 revisions

Module's build Gradle

In module app Gradle config file you have to add support for apt-plugin at the begin of the file

Then add annotation processor and dependency

dependencies {
    ...
    // annotation processors
    annotationProcessor"com.abubusoft:kripton-processor:7.0.0"
    // dependencies
    implementation "com.abubusoft:kripton-android-library:7.0.0"
    ...
}

Dependency kripton-retrofit-converter is needed only if you need to use retrofit too.

Check Gradle console when compile

To verify that java annotation processor works correctly, just check gradle console: for each class generated, a note info will be displayed indicating its name, its package and which annotation generated it.

To enable debug info print on console, you need to set to true the kripton.debug argument, following indications.

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