-
Notifications
You must be signed in to change notification settings - Fork 16
Android studio configuration
xcesco edited this page Dec 29, 2020
·
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 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.
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.
- 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