build.gradle 845 B

12345678910111213141516171819202122232425262728293031323334353637
  1. // Top-level build file where you can add configuration options common to all sub-projects/modules.
  2. buildscript {
  3. ext {
  4. supportLibVersion = "28.0.0"
  5. }
  6. repositories {
  7. jcenter()
  8. google()
  9. }
  10. dependencies {
  11. classpath 'com.android.tools.build:gradle:3.1.0'
  12. //插件化
  13. classpath 'com.didi.virtualapk:gradle:0.9.8.6'
  14. }
  15. }
  16. allprojects {
  17. repositories {
  18. maven { url 'http://maven.aliyun.com/nexus/content/groups/public/' }
  19. maven {
  20. url 'https://raw.githubusercontent.com/MDL-Sinlov/MDL-Android-Repo/master/mvn-repo/'
  21. }
  22. maven { url "https://github.com/KuaiFaMaster/kfsdk/raw/master" }
  23. jcenter()
  24. maven { url "https://jitpack.io" }
  25. google()
  26. }
  27. }
  28. task clean(type: Delete) {
  29. delete rootProject.buildDir
  30. }