Open qiaoxianzhu opened 5 years ago
These are options for the Gradle plugin. So as usual for Gradle you can generate these values somehow inside the build script.
Note: typically you do not have to specify a targetGenDir
, only a schemaVersion
. http://greenrobot.org/greendao/documentation/modelling-entities/#Schema
Well, I mean Can i implement it in another way instead of in Gradle?
Not that I am aware of. You would have to ask the Gradle folks about that.
Hello, I want to ask a question about greenDao.
greendao { schemaVersion 1 // daoPackage 'com.test.xxx.greendao.gen' targetGenDir 'src/main/java' }
Can I dynamically generate the above content with code?