build.gradle 690 B

12345678910111213141516171819202122232425
  1. // Top-level build file where you can add configuration options common to all sub-projects/modules.
  2. buildscript {
  3. repositories {
  4. jcenter()
  5. google()
  6. }
  7. dependencies {
  8. classpath 'com.android.tools.build:gradle:3.5.2'
  9. // add greendao plugin
  10. classpath 'org.greenrobot:greendao-gradle-plugin:3.2.0'//greenDao生产代码插件
  11. // NOTE: Do not place your application dependencies here; they belong
  12. // in the individual module build.gradle files
  13. }
  14. }
  15. allprojects {
  16. repositories {
  17. jcenter()
  18. google()
  19. maven {
  20. url "http://mvn.gt.igexin.com/nexus/content/repositories/releases/"
  21. }
  22. }
  23. }