e9513edff3cf3ab36f065211fc3ea2cdb4cdc039.svn-base 1.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. // Top-level build file where you can add configuration options common to all sub-projects/modules.
  2. buildscript {
  3. repositories {
  4. maven { url 'http://maven.aliyun.com/nexus/content/groups/public/' }
  5. maven { url 'http://maven.aliyun.com/nexus/content/repositories/jcenter' }
  6. maven { url 'http://maven.aliyun.com/nexus/content/repositories/google' }
  7. maven { url 'http://maven.aliyun.com/nexus/content/repositories/gradle-plugin' }
  8. google()
  9. }
  10. dependencies {
  11. classpath 'com.android.tools.build:gradle:4.0.0'
  12. classpath 'org.greenrobot:greendao-gradle-plugin:3.3.0' // add plugin
  13. // NOTE: Do not place your application dependencies here; they belong
  14. // in the individual module build.gradle files
  15. }
  16. }
  17. allprojects {
  18. repositories {
  19. maven { url 'http://maven.aliyun.com/nexus/content/groups/public/' }
  20. maven { url 'http://maven.aliyun.com/nexus/content/repositories/jcenter' }
  21. maven { url 'http://maven.aliyun.com/nexus/content/repositories/google' }
  22. maven { url 'http://maven.aliyun.com/nexus/content/repositories/gradle-plugin' }
  23. mavenCentral()
  24. maven {url "https://jitpack.io"}
  25. google()
  26. }
  27. }
  28. task clean(type: Delete) {
  29. delete rootProject.buildDir
  30. }
  31. ext {
  32. // Sdk and tools
  33. targetSdkVersion = 28
  34. compileSdkVersion = 28
  35. buildToolsVersion = '29.0.2'
  36. // Google Support
  37. supportLibraryVersion = '28.0.0'
  38. constraintLayoutVersion = '1.1.3'
  39. junitVersion = '4.12'
  40. }