-
Notifications
You must be signed in to change notification settings - Fork 16
Android studio configuration
xcesco edited this page Sep 5, 2017
·
20 revisions
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.
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.
- Introduction
- Goals & Features
- Kotlin
- Immutable or Mutable Pojo
- Annotation Processor Args
- Credits
- Articles
- Benchmarks
- Setup
- Tutorial
- Usage
- Dependencies and inspirations
- Stackoverflow
- Documentation
- SQL logging
- Data source options
- Indices
- SQL Type adapter
- Global SQL Type adapter
- Constraints
- Live data: welcome Architectural components!!
- Paged Live data
- Dynamic parts
- Transactional and batch operations
- Async Transactional and batch operations
- Global transaction
- Support for immutable POJO
- Generate Content provider
- Generate Database schema generation
- Database migration
- BindSqlColumn
- BindContentProvider
- BindContentProviderEntry
- BindContentProviderPath
- BindDao
- BindDaoMany2Many
- BindDataSource
- BindDataSourceOptions
- BindDataSourceUpdateTask
- BindIndex
- BindSqlRelation
- BindSqlAdapter
- BindSqlChildSelect
- BindSqlDelete
- BindSqlDynamicOrderBy
- BindSqlDynamicWhere
- BindSqlDynamicWhereParams
- BindSqlInsert
- BindSqlPageSize
- BindSqlParam
- BindSqlSelect
- BindSqlUpdate
- BindSqlType
- BindSqlTransaction