mirror of
https://github.com/usbharu/Hideout.git
synced 2026-09-05 04:47:32 +00:00
chore: rootでテストを実行することで全ての子がテストを実行するように
This commit is contained in:
+1
-2
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user