build.gradle 1000 B

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