build.gradle 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738
  1. // Top-level build file where you can add configuration options common to all sub-projects/modules.
  2. buildscript {
  3. repositories {
  4. mavenLocal()
  5. google()
  6. mavenCentral()
  7. gradlePluginPortal()
  8. maven { url "https://mirrors.tencent.com/nexus/repository/maven-public/" }
  9. maven {
  10. url'http://8.134.139.102:8085/repository/wenext-android/'
  11. credentials {
  12. username 'admin'
  13. password 'e405f245-3a0e-4de7-8768-c4c62bdea293'
  14. }
  15. allowInsecureProtocol = true//允许 Gradle 使用不安全的协议
  16. }
  17. maven { url 'https://jitpack.io' }
  18. }
  19. dependencies {
  20. classpath libs.android.build.gradle
  21. classpath libs.kotlin.gradle.plugin
  22. classpath libs.gms.google.services
  23. classpath libs.firebase.crashlytics.gradle
  24. classpath libs.tencent.vasdolly.plugin
  25. // classpath libs.aabresguard.plugin
  26. if (project.hasProperty("ENABLE_TRACE") && project.ENABLE_TRACE.toBoolean()){
  27. classpath(libs.frame.trace.plugin)
  28. }
  29. classpath(libs.frame.bundle.tool)
  30. }
  31. }
  32. task clean(type: Delete) {
  33. delete rootProject.buildDir
  34. }