build.gradle 1.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. apply from: 'dependencies.gradle'
  2. buildscript {
  3. repositories {
  4. //maven{ url 'http://maven.aliyun.com/nexus/content/groups/public/'}
  5. maven { url "https://jitpack.io" }
  6. jcenter()
  7. maven {
  8. url 'https://maven.google.com/'
  9. name 'Google'
  10. }
  11. maven { url 'https://dl.bintray.com/umsdk/release' }
  12. }
  13. dependencies {
  14. classpath 'com.android.tools.build:gradle:3.5.0'
  15. classpath "io.realm:realm-gradle-plugin:5.14.0"
  16. classpath 'com.google.gms:google-services:4.2.0'
  17. }
  18. }
  19. allprojects {
  20. repositories {
  21. //maven{ url 'http://maven.aliyun.com/nexus/content/groups/public/'}
  22. maven { url "https://jitpack.io" }
  23. google()
  24. jcenter()
  25. maven {
  26. url 'https://maven.google.com/'
  27. name 'Google'
  28. }
  29. mavenCentral()
  30. maven { url 'https://dl.bintray.com/umsdk/release' }
  31. }
  32. }
  33. ext {
  34. androidCompileSdkVersion = 26
  35. androidBuildToolsVersion = '26.0.3'
  36. androidMinSdkVersion = 16
  37. androidTargetSdkVersion = 26
  38. }
  39. task clean(type: Delete) {
  40. delete rootProject.buildDir
  41. }