build.gradle 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  1. // Top-level build file where you can add configuration options common to all sub-projects/modules.
  2. buildscript {
  3. ext.kotlin_version = "1.7.10"
  4. repositories {
  5. google()
  6. maven {
  7. allowInsecureProtocol = true
  8. url 'https://jitpack.io'
  9. }
  10. mavenCentral()
  11. maven {
  12. allowInsecureProtocol = true
  13. url "https://mirrors.tencent.com/nexus/repository/maven-public/"
  14. }
  15. }
  16. dependencies {
  17. classpath "com.android.tools.build:gradle:7.2.1"
  18. classpath 'org.jetbrains.kotlin:kotlin-gradle-plugin:1.7.10'
  19. classpath 'com.google.gms:google-services:4.3.13'
  20. classpath 'com.google.firebase:firebase-crashlytics-gradle:2.7.1'
  21. classpath 'com.google.firebase:perf-plugin:1.4.1'
  22. // NOTE: Do not place your application dependencies here; they belong
  23. // in the individual module build.gradle files
  24. }
  25. }
  26. allprojects {
  27. repositories {
  28. google()
  29. maven {
  30. allowInsecureProtocol = true
  31. url 'https://jitpack.io'
  32. }
  33. mavenCentral()
  34. maven {
  35. allowInsecureProtocol = true
  36. url "https://mirrors.tencent.com/nexus/repository/maven-public/"
  37. }
  38. }
  39. configurations.all{
  40. resolutionStrategy{
  41. force 'com.squareup.okhttp3:okhttp:4.9.1'
  42. }
  43. }
  44. }
  45. task clean(type: Delete) {
  46. delete rootProject.buildDir
  47. }