欢迎您访问程序员文章站本站旨在为大家提供分享程序员计算机编程知识!
您现在的位置是: 首页  >  移动技术

android数据库之GreenDao3.2.2的用法

程序员文章站 2022-05-27 08:13:16
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
}