build.gradle 974 B

1234567891011121314151617181920212223242526272829303132333435
  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", 9) // Version Minor
  4. project.ext.set("versionPatch", 0) // Version Patch
  5. // ^ keep in sync with cmake
  6. project.ext.set("versionCode", 46) // 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 = '26.2.11394342'
  12. repositories {
  13. google()
  14. mavenCentral()
  15. }
  16. dependencies {
  17. classpath 'com.android.tools.build:gradle:7.4.1'
  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. mavenCentral()
  27. }
  28. }
  29. task clean(type: Delete) {
  30. delete rootProject.buildDir
  31. }