bundle WebUI for stable builds

This commit is contained in:
Aria Moradi
2021-08-08 06:18:00 +04:30
parent fb1f88e971
commit 7d2f542f8a
4 changed files with 46 additions and 24 deletions

View File

@@ -181,6 +181,12 @@ tasks {
named<Copy>("processResources") {
duplicatesStrategy = DuplicatesStrategy.INCLUDE
mustRunAfter("downloadWebUI")
}
register<de.undercouch.gradle.tasks.download.Download>("downloadWebUI") {
src("https://github.com/Suwayomi/Tachidesk-WebUI-preview/releases/download/$webUIRevisionTag/Tachidesk-WebUI-$webUIRevisionTag.zip")
dest("src/main/resources/WebUI.zip")
}
withType<LintTask> {