2
0

build.gradle 1013 B

123456789101112131415161718192021222324252627282930313233343536
  1. // Top-level build file where you can add configuration options common to all sub-projects/modules.
  2. project.ext.set("versionMajor", 5) // Version Major
  3. project.ext.set("versionMinor", 6) // Version Minor
  4. project.ext.set("versionPatch", 0) // Version Patch
  5. project.ext.set("versionExtra", "-dev") // Version Extra
  6. project.ext.set("versionCode", 38) // Android Version Code
  7. // NOTE: +2 after each release!
  8. // +1 for ARM and +1 for ARM64 APK's, because
  9. // each APK must have a larger `versionCode` than the previous
  10. buildscript {
  11. ext.ndk_version = '23.0.7599858'
  12. repositories {
  13. google()
  14. jcenter()
  15. }
  16. dependencies {
  17. classpath 'com.android.tools.build:gradle:7.0.3'
  18. classpath 'de.undercouch:gradle-download-task:4.1.1'
  19. // NOTE: Do not place your application dependencies here; they belong
  20. // in the individual module build.gradle files
  21. }
  22. }
  23. allprojects {
  24. repositories {
  25. google()
  26. jcenter()
  27. }
  28. }
  29. task clean(type: Delete) {
  30. delete rootProject.buildDir
  31. delete 'native/deps'
  32. }