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/
|
||||||
/tomcat-e2e/
|
/tomcat-e2e/
|
||||||
/e2eTest.log
|
/e2eTest.log
|
||||||
/files/
|
|
||||||
|
|
||||||
*.log
|
*.log
|
||||||
/hideout-core/files/
|
/hideout-core/files/
|
||||||
|
@ -51,4 +50,4 @@ out/
|
||||||
/http-client.private.env.json
|
/http-client.private.env.json
|
||||||
**/logs/
|
**/logs/
|
||||||
/hideout-mastodon/logs/
|
/hideout-mastodon/logs/
|
||||||
/hideout-mastodon/files/
|
**/files/
|
||||||
|
|
|
@ -49,7 +49,11 @@ subprojects {
|
||||||
}
|
}
|
||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
testImplementation(kotlin("test"))
|
}
|
||||||
|
|
||||||
|
|
||||||
|
kotlin {
|
||||||
|
jvmToolchain(21)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -57,6 +61,12 @@ tasks {
|
||||||
register("run") {
|
register("run") {
|
||||||
dependsOn(gradle.includedBuild("hideout-core").task(":run"))
|
dependsOn(gradle.includedBuild("hideout-core").task(":run"))
|
||||||
}
|
}
|
||||||
|
|
||||||
|
getByName("test") {
|
||||||
|
dependsOn(subprojects.mapNotNull { it.tasks.findByName("test") })
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
withType<io.gitlab.arturbosch.detekt.Detekt> {
|
withType<io.gitlab.arturbosch.detekt.Detekt> {
|
||||||
exclude("**/generated/**")
|
exclude("**/generated/**")
|
||||||
exclude("build/")
|
exclude("build/")
|
||||||
|
@ -70,9 +80,6 @@ tasks {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
kotlin {
|
|
||||||
jvmToolchain(21)
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
|
|
Loading…
Reference in New Issue