mirror of https://github.com/usbharu/Hideout.git
chore: rootでテストを実行することで全ての子がテストを実行するように
This commit is contained in:
parent
4e4cada0b7
commit
56577c9137
|
@ -42,7 +42,6 @@ out/
|
|||
/tomcat/
|
||||
/tomcat-e2e/
|
||||
/e2eTest.log
|
||||
/files/
|
||||
|
||||
*.log
|
||||
/hideout-core/files/
|
||||
|
@ -51,4 +50,4 @@ out/
|
|||
/http-client.private.env.json
|
||||
**/logs/
|
||||
/hideout-mastodon/logs/
|
||||
/hideout-mastodon/files/
|
||||
**/files/
|
||||
|
|
|
@ -49,7 +49,11 @@ subprojects {
|
|||
}
|
||||
|
||||
dependencies {
|
||||
testImplementation(kotlin("test"))
|
||||
}
|
||||
|
||||
|
||||
kotlin {
|
||||
jvmToolchain(21)
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -57,6 +61,12 @@ tasks {
|
|||
register("run") {
|
||||
dependsOn(gradle.includedBuild("hideout-core").task(":run"))
|
||||
}
|
||||
|
||||
getByName("test") {
|
||||
dependsOn(subprojects.mapNotNull { it.tasks.findByName("test") })
|
||||
}
|
||||
|
||||
|
||||
withType<io.gitlab.arturbosch.detekt.Detekt> {
|
||||
exclude("**/generated/**")
|
||||
exclude("build/")
|
||||
|
@ -70,9 +80,6 @@ tasks {
|
|||
}
|
||||
}
|
||||
|
||||
kotlin {
|
||||
jvmToolchain(21)
|
||||
}
|
||||
}
|
||||
|
||||
dependencies {
|
||||
|
|
Loading…
Reference in New Issue