mirror of
https://github.com/Suwayomi/Suwayomi-Server.git
synced 2026-07-03 19:04:39 -05:00
Add version api endpoint (#66)
This commit is contained in:
committed by
GitHub
parent
1ea821584c
commit
34d8feacdd
@@ -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())
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user