Skip to content

Commit b8ba162

Browse files
mgilbeysmyrick
andauthored
Ensure artifact is published to maven before maven integration tests (#922)
* Ensure artifact is published to maven before maven build * Update build.gradle.kts * Update build.gradle.kts Co-authored-by: Shane Myrick <[email protected]>
1 parent 36b62bd commit b8ba162

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

plugins/graphql-kotlin-maven-plugin/build.gradle.kts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,12 @@ tasks {
8686
mustRunAfter("startWireMock")
8787
}
8888
val integrationTest by register("integrationTest") {
89+
dependsOn(":graphql-kotlin-types:publishToMavenLocal")
90+
dependsOn(":graphql-kotlin-client:publishToMavenLocal")
91+
dependsOn(":graphql-kotlin-ktor-client:publishToMavenLocal")
92+
dependsOn(":graphql-kotlin-spring-client:publishToMavenLocal")
93+
dependsOn(":graphql-kotlin-plugin-core:publishToMavenLocal")
94+
dependsOn("publishToMavenLocal")
8995
dependsOn(startWireMock.path)
9096
finalizedBy(stopWireMock.path)
9197
timeout.set(Duration.ofSeconds(500))

0 commit comments

Comments
 (0)