build.gradle 986 B

12345678910111213141516171819202122232425262728293031323334
  1. // Top-level build file where you can add configuration options common to all sub-projects/modules.
  2. buildscript {
  3. repositories {
  4. google()
  5. jcenter()
  6. maven {
  7. url 'https://loveota-maven.pkg.coding.net/repository/bintray/lebianplugin/'
  8. }
  9. }
  10. dependencies {
  11. // 使用低版本gradle, 截止当前(2021/10/26 11:42)高版本打出的apk会多出各种文件
  12. classpath "com.android.tools.build:gradle:3.2.0"
  13. classpath 'com.loveota.plugins:lbplugin:latest.release'
  14. // NOTE: Do not place your application dependencies here; they belong
  15. // in the individual module build.gradle files
  16. }
  17. }
  18. allprojects {
  19. repositories {
  20. google()
  21. jcenter()
  22. maven {
  23. url 'http://maven.aliyun.com/nexus/content/repositories/releases/'
  24. }
  25. flatDir {
  26. dirs '../yunMain/libs'
  27. }
  28. }
  29. }
  30. task clean(type: Delete) {
  31. delete rootProject.buildDir
  32. }