build.gradle 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637
  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", 7) // Version Minor
  4. project.ext.set("versionPatch", 0) // Version Patch
  5. project.ext.set("versionExtra", "-dev") // Version Extra
  6. project.ext.set("versionCode", 40) // Android Version Code
  7. project.ext.set("developmentBuild", 1) // Whether it is a development build, or a release
  8. // NOTE: +2 after each release!
  9. // +1 for ARM and +1 for ARM64 APK's, because
  10. // each APK must have a larger `versionCode` than the previous
  11. buildscript {
  12. ext.ndk_version = '23.2.8568313'
  13. repositories {
  14. google()
  15. jcenter()
  16. }
  17. dependencies {
  18. classpath 'com.android.tools.build:gradle:7.0.3'
  19. classpath 'de.undercouch:gradle-download-task:4.1.1'
  20. // NOTE: Do not place your application dependencies here; they belong
  21. // in the individual module build.gradle files
  22. }
  23. }
  24. allprojects {
  25. repositories {
  26. google()
  27. jcenter()
  28. }
  29. }
  30. task clean(type: Delete) {
  31. delete rootProject.buildDir
  32. delete 'native/deps'
  33. }