Workaround StdLib issue and add KtLint to all modules (#206)

* Workaround buildconfig kotlin stdlib issue

* Add KtLint to all modules
This commit is contained in:
Mitchell Syer
2021-09-24 21:01:03 -04:00
committed by GitHub
parent bb701fb088
commit 13b034875b
2 changed files with 5 additions and 10 deletions
+2 -10
View File
@@ -1,11 +1,10 @@
import com.github.jengelman.gradle.plugins.shadow.tasks.ShadowJar
import de.undercouch.gradle.tasks.download.Download
import java.time.Instant
plugins {
application
id("com.github.johnrengelman.shadow") version "7.0.0"
id("com.github.gmazzo.buildconfig") version "3.0.3"
id("com.github.gmazzo.buildconfig")
}
dependencies {
@@ -127,20 +126,13 @@ tasks {
archiveBaseName.set(rootProject.name)
archiveVersion.set(tachideskVersion)
archiveClassifier.set(tachideskRevision)
destinationDirectory.set(File("$rootDir/server/build"))
}
test {
useJUnit()
}
withType<ShadowJar> {
destinationDirectory.set(File("$rootDir/server/build"))
}
named("run") {
dependsOn(":formatKotlin", ":lintKotlin")
}
named<Copy>("processResources") {
duplicatesStrategy = DuplicatesStrategy.INCLUDE
mustRunAfter("downloadWebUI")