a320722a3ba54ec812b40b3e09fffcba5df2166d.svn-base 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  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. }
  9. dependencies {
  10. classpath 'com.android.tools.build:gradle:3.6.3'
  11. classpath 'org.greenrobot:greendao-gradle-plugin:3.2.2' // add plugin
  12. // NOTE: Do not place your application dependencies here; they belong
  13. // in the individual module build.gradle files
  14. }
  15. }
  16. allprojects {
  17. repositories {
  18. maven { url 'http://maven.aliyun.com/nexus/content/groups/public/' }
  19. maven { url 'http://maven.aliyun.com/nexus/content/repositories/jcenter' }
  20. maven { url 'http://maven.aliyun.com/nexus/content/repositories/google' }
  21. maven { url 'http://maven.aliyun.com/nexus/content/repositories/gradle-plugin' }
  22. mavenCentral()
  23. maven {url "https://jitpack.io"}
  24. }
  25. }
  26. task clean(type: Delete) {
  27. delete rootProject.buildDir
  28. }
  29. ext {
  30. // Sdk and tools
  31. targetSdkVersion = 28
  32. compileSdkVersion = 28
  33. buildToolsVersion = '28.0.3'
  34. // Google Support
  35. supportLibraryVersion = '28.0.0'
  36. constraintLayoutVersion = '1.1.3'
  37. junitVersion = '4.12'
  38. }