Add version api endpoint (#66)

This commit is contained in:
Kolby Moroz Liebl
2021-04-30 05:47:23 +04:30
committed by GitHub
parent 1ea821584c
commit 34d8feacdd
3 changed files with 20 additions and 0 deletions
+8
View File
@@ -7,8 +7,10 @@ plugins {
id("com.github.johnrengelman.shadow") version "6.1.0"
id("org.jmailen.kotlinter") version "3.3.0"
id("edu.sc.seis.launch4j") version "2.4.9"
id("de.fuerstenau.buildconfig") version "1.1.8"
}
val group = "ir.armor.tachidesk"
val TachideskVersion = "v0.3.0"
@@ -215,5 +217,11 @@ tasks.named("processResources") {
mustRunAfter(":webUI:copyBuild")
}
buildConfig {
version = TachideskVersion
clsName = "BuildConfig"
packageName = group.toString()
buildConfigField("boolean", "DEBUG", project.hasProperty("debugApp").toString())
}