mirror of
https://github.com/luanti-org/luanti.git
synced 2026-10-12 02:18:30 +00:00
35 lines
930 B
Groovy
35 lines
930 B
Groovy
// Top-level build file where you can add configuration options common to all sub-projects/modules.
|
|
|
|
project.ext.set("versionMajor", 5) // Version Major
|
|
project.ext.set("versionMinor", 18) // Version Minor
|
|
project.ext.set("versionPatch", 0) // Version Patch
|
|
// ^ keep in sync with cmake
|
|
|
|
project.ext.set("versionBuild", 0) // Version Build
|
|
// ^ fourth version number to allow releasing Android-only fixes and beta versions
|
|
|
|
buildscript {
|
|
ext.ndk_version = '30.0.16248370'
|
|
repositories {
|
|
google()
|
|
mavenCentral()
|
|
}
|
|
dependencies {
|
|
classpath 'com.android.tools.build:gradle:9.2.1'
|
|
classpath 'de.undercouch:gradle-download-task:5.7.0'
|
|
// NOTE: Do not place your application dependencies here; they belong
|
|
// in the individual module build.gradle files
|
|
}
|
|
}
|
|
|
|
allprojects {
|
|
repositories {
|
|
google()
|
|
mavenCentral()
|
|
}
|
|
}
|
|
|
|
tasks.register('clean', Delete) {
|
|
delete rootProject.layout.buildDirectory
|
|
}
|