1 项目根build.gradle
classpath ‘org.greenrobot:greendao-gradle-plugin:3.1.0‘
2 app中build.gradle
apply plugin:‘org.greenrobot.greendao‘
dependencies{
compile ‘org.greenrobot:greedao:3.1.0‘
}
3 配置生成目录
greendao{
targetGenDir ‘src/main/java‘
}
时间: 2024-11-05 04:47:36