A gradle plugin for enhancing ebean entities.
plugins {
id 'java'
id 'com.github.kt3k.ebean.enhance' version '3.0.0'
}
ebeanEnhance {
packages = 'com.example.models.**'
}
The above automatically enhances the ebean models under the com.example.models
package.
More technically, com.github.kt3k.ebean.enhance
plugins creates ebeanEnhace
task in your project and hook it to classes
task of java
plugin.
You can specify following properties in your build.gradle:
The package to enhance (required)
The version of org.avaje.ebeanorm:avaje-ebeanorm-agent
module (default 4.9.1
)
The transformation arguments to pass to AntEnhanceTask
(default debug=5
)
MIT