build.gradle 999 B

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. // Top-level build file where you can add configuration options common to all sub-projects/modules.
  2. buildscript {
  3. ext.COMM_LIB_DEV_ENABLE = true
  4. // 混淆开关
  5. ext.MINIFY_ENABLE = false
  6. // ndk版本
  7. ext.NDK_VERSION = '21.3.6528147'
  8. // kotlin版本
  9. ext.KOTLIN_VERSION = '1.4.20'
  10. // compileSdkVersion
  11. ext.COMPILE_SDK_VERSION = 30
  12. // buildToolsVersion
  13. ext.BUILD_TOOLS_VERSION = '30.0.3'
  14. // minSdkVersion
  15. ext.MIN_SDK_VERSION = 16
  16. // targetSdkVersion
  17. ext.TARGET_SDK_VERSION = 30
  18. repositories {
  19. google()
  20. mavenCentral()
  21. jcenter()
  22. }
  23. dependencies {
  24. classpath "com.android.tools.build:gradle:4.1.3"
  25. // NOTE: Do not place your application dependencies here; they belong
  26. // in the individual module build.gradle files
  27. }
  28. }
  29. allprojects {
  30. repositories {
  31. google()
  32. mavenCentral()
  33. jcenter()
  34. }
  35. }
  36. task clean(type: Delete) {
  37. delete rootProject.buildDir
  38. }