build.gradle 960 B

123456789101112131415161718192021222324252627282930313233
  1. // Top-level build file where you can add configuration options common to all sub-projects/modules.
  2. buildscript {
  3. ext.kotlin_version = "1.5.20"
  4. repositories {
  5. google()
  6. mavenCentral()
  7. jcenter()
  8. }
  9. dependencies {
  10. classpath "com.android.tools.build:gradle:3.5.1"
  11. classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
  12. // tinkersupport插件, 其中lastest.release指拉取最新版本,也可以指定明确版本号,例如1.0.4
  13. classpath "com.tencent.bugly:tinker-support:1.2.0"
  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. mavenCentral()
  22. jcenter()
  23. flatDir {
  24. dirs "${project(':unityLibrary').projectDir}/libs"
  25. }
  26. }
  27. }
  28. task clean(type: Delete) {
  29. delete rootProject.buildDir
  30. }