build.gradle 1.1 KB

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", 8) // Version Minor
  4. project.ext.set("versionPatch", 0) // Version Patch
  5. project.ext.set("versionExtra", "-dev") // Version Extra
  6. project.ext.set("versionCode", 44) // 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 = '25.2.9519653'
  13. repositories {
  14. google()
  15. mavenCentral()
  16. }
  17. dependencies {
  18. classpath 'com.android.tools.build:gradle:7.4.1'
  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. mavenCentral()
  28. }
  29. }
  30. task clean(type: Delete) {
  31. delete rootProject.buildDir
  32. }