2020-04-15 16:27:40 +02:00
|
|
|
// Top-level build file where you can add configuration options common to all sub-projects/modules.
|
|
|
|
|
2020-09-04 20:04:28 +02:00
|
|
|
project.ext.set("versionMajor", 2) // Version Major
|
|
|
|
project.ext.set("versionMinor", 0) // Version Minor
|
2023-05-05 22:15:35 +03:00
|
|
|
project.ext.set("versionPatch", 4) // Version Patch
|
2020-09-04 20:04:28 +02:00
|
|
|
project.ext.set("versionExtra", "") // Version Extra
|
|
|
|
project.ext.set("versionCode", 100) // Android Version Code
|
2022-08-02 19:48:01 +12:00
|
|
|
project.ext.set("developmentBuild", 0) // Whether it is a development build, or a release
|
2022-12-07 16:29:25 +02:00
|
|
|
// NOTE: +3 after each release!
|
|
|
|
// +1 for ARM, +1 for ARM64 and +1 for x86_64 APK's, because
|
2020-04-15 16:27:40 +02:00
|
|
|
// each APK must have a larger `versionCode` than the previous
|
|
|
|
|
2016-04-13 14:14:04 -04:00
|
|
|
buildscript {
|
|
|
|
repositories {
|
2019-08-12 18:59:53 +02:00
|
|
|
google()
|
2021-12-03 04:09:23 +06:00
|
|
|
mavenCentral()
|
2016-04-13 14:14:04 -04:00
|
|
|
}
|
|
|
|
dependencies {
|
2023-08-23 13:57:41 +03:00
|
|
|
classpath 'com.android.tools.build:gradle:8.1.0'
|
2022-05-16 16:31:30 +03:00
|
|
|
//noinspection GradleDependency
|
2021-12-03 04:09:23 +06:00
|
|
|
classpath 'de.undercouch:gradle-download-task:4.1.2'
|
2023-05-06 02:15:16 +03:00
|
|
|
classpath 'org.jetbrains.kotlin:kotlin-gradle-plugin:1.8.20'
|
2020-04-15 16:27:40 +02:00
|
|
|
// NOTE: Do not place your application dependencies here; they belong
|
|
|
|
// in the individual module build.gradle files
|
2018-12-03 00:39:35 +01:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
allprojects {
|
|
|
|
repositories {
|
2019-08-12 18:59:53 +02:00
|
|
|
google()
|
2021-12-03 04:09:23 +06:00
|
|
|
mavenCentral()
|
2016-04-13 14:14:04 -04:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2023-06-12 21:14:29 +03:00
|
|
|
tasks.register('clean', Delete) {
|
2023-08-23 13:57:41 +03:00
|
|
|
delete rootProject.layout.buildDirectory
|
2020-09-04 20:04:28 +02:00
|
|
|
delete 'native/deps'
|
2018-12-03 00:39:35 +01:00
|
|
|
}
|