build.gradle 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  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. google()
  13. }
  14. dependencies {
  15. classpath 'com.android.tools.build:gradle:3.5.0'
  16. classpath "io.realm:realm-gradle-plugin:5.14.0"
  17. classpath 'com.google.gms:google-services:4.3.1'
  18. }
  19. }
  20. allprojects {
  21. repositories {
  22. //maven{ url 'http://maven.aliyun.com/nexus/content/groups/public/'}
  23. maven { url "https://jitpack.io" }
  24. google()
  25. jcenter()
  26. maven {
  27. url 'https://maven.google.com/'
  28. name 'Google'
  29. }
  30. mavenCentral()
  31. maven { url 'https://dl.bintray.com/umsdk/release' }
  32. }
  33. }
  34. ext {
  35. androidCompileSdkVersion = 26
  36. androidBuildToolsVersion = '28.0.3'
  37. androidMinSdkVersion = 16
  38. androidTargetSdkVersion = 26
  39. }
  40. task clean(type: Delete) {
  41. delete rootProject.buildDir
  42. }