build.gradle 910 B

12345678910111213141516171819202122232425262728293031323334
  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", 10) // Version Minor
  4. project.ext.set("versionPatch", 0) // Version Patch
  5. // ^ keep in sync with cmake
  6. project.ext.set("versionBuild", 0) // Version Build
  7. // ^ fourth version number to allow releasing Android-only fixes and beta versions
  8. buildscript {
  9. ext.ndk_version = '27.2.12479018'
  10. repositories {
  11. google()
  12. mavenCentral()
  13. }
  14. dependencies {
  15. classpath 'com.android.tools.build:gradle:8.5.1'
  16. classpath 'de.undercouch:gradle-download-task:4.1.1'
  17. // NOTE: Do not place your application dependencies here; they belong
  18. // in the individual module build.gradle files
  19. }
  20. }
  21. allprojects {
  22. repositories {
  23. google()
  24. mavenCentral()
  25. }
  26. }
  27. task clean(type: Delete) {
  28. delete rootProject.buildDir
  29. }