Skip to content

Android studio configuration

xcesco edited this page Sep 5, 2017 · 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 (1) and dependencies (2), and optionally retrofit integration (3)

dependencies {
    ...
    // annotation processors
    apt "com.abubusoft:kripton-processor:2.0.1"
    ...
    // dependencies
    compile "com.abubusoft:kripton-android-library:2.0.1"
    compile "com.abubusoft:kripton-retrofit-converter:2.0.1"
    ...
}

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.

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