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 {
  9. url'http://8.134.23.107:8088/repository/wenext-android/'
  10. credentials {
  11. username 'wenext-android'
  12. password 'wenext123456'
  13. }
  14. allowInsecureProtocol = true//允许 Gradle 使用不安全的协议
  15. }
  16. maven { url 'https://jitpack.io' }
  17. }
  18. dependencies {
  19. classpath libs.android.build.gradle
  20. classpath libs.kotlin.gradle.plugin
  21. classpath libs.gms.google.services
  22. classpath libs.firebase.crashlytics.gradle
  23. classpath libs.tencent.vasdolly.plugin
  24. // classpath libs.aabresguard.plugin
  25. if (project.hasProperty("ENABLE_TRACE") && project.ENABLE_TRACE.toBoolean()){
  26. classpath(libs.frame.trace.plugin)
  27. }
  28. classpath(libs.frame.bundle.tool)
  29. classpath 'io.github.flyjingfish:androidaop-plugin:2.7.0'
  30. }
  31. }
  32. task clean(type: Delete) {
  33. delete rootProject.buildDir
  34. }