android数据库之GreenDao3.2.2的用法
程序员文章站
2023-09-06 20:36:30
1.添加依赖
buildscript {
repositories {
jcenter()
mavencentral()
}
dependencies {...
1.添加依赖
buildscript {
repositories {
jcenter() mavencentral() } dependencies { classpath 'com.android.tools.build:gradle:3.0.1' classpath 'com.neenbedankt.gradle.plugins:android-apt:1.8' classpath 'org.greenrobot:greendao-gradle-plugin:3.2.2' // note: do not place your application dependencies here; they belong // in the inpidual module build.gradle files } } allprojects { repositories { jcenter() } } task clean(type: delete) { delete rootproject.builddir }