You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

build.gradle 1.3KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  1. // Top-level build file where you can add configuration options common to all sub-projects/modules.
  2. buildscript {
  3. ext{
  4. app_targetSdk = 35
  5. app_minSdk = 24
  6. app_compileSdk = 35
  7. app_toolsVserion = "35.0.0"
  8. appcompat_version = '1.6.1'
  9. //1.10.0需要sdk 34
  10. //1.3.0开始LocalBroadcastManager已经包含了
  11. material_version = '1.9.0'
  12. // kotlin_version = '1.9.23'
  13. kotlin_version = '1.7.20'
  14. core_ktx_version = '1.8.0'
  15. kotlin_plugin_version = '1.8.22'
  16. }
  17. repositories {
  18. google()
  19. mavenCentral()
  20. maven { url 'https://jitpack.io' }
  21. maven {
  22. url "https://repo.eclipse.org/content/repositories/paho-snapshots/"
  23. }
  24. }
  25. dependencies {
  26. classpath 'com.android.tools.build:gradle:8.5.2'
  27. classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:2.2.0"
  28. // NOTE: Do not place your application dependencies here; they belong
  29. // in the individual module build.gradle files
  30. }
  31. }
  32. allprojects {
  33. repositories {
  34. google()
  35. mavenCentral()
  36. maven {
  37. url "https://repo.eclipse.org/content/repositories/paho-snapshots/"
  38. }
  39. maven { url 'https://jitpack.io' }
  40. }
  41. }
  42. task clean(type: Delete) {
  43. delete rootProject.buildDir
  44. }