File tree Expand file tree Collapse file tree 1 file changed +7
-0
lines changed Expand file tree Collapse file tree 1 file changed +7
-0
lines changed Original file line number Diff line number Diff line change @@ -127,6 +127,7 @@ val generateSAFClient by tasks.creating(GraphQLGenerateClientTask::class) {
127
127
val downloadPDLSchema by tasks.creating(GraphQLDownloadSDLTask ::class ) {
128
128
endpoint.set(" https://navikt.github.io/pdl/pdl-api-sdl.graphqls" )
129
129
outputFile.set(file(" ${project.projectDir} /src/main/resources/pdl/schema.graphqls" ))
130
+ dependsOn(" generateSAFClient" )
130
131
}
131
132
val generatePDLClient by tasks.creating(GraphQLGenerateClientTask ::class ) {
132
133
packageName.set(" no.nav.api.generated.pdl" )
@@ -156,3 +157,9 @@ val generatePDLClient by tasks.creating(GraphQLGenerateClientTask::class) {
156
157
)
157
158
dependsOn(" downloadPDLSchema" )
158
159
}
160
+
161
+ tasks {
162
+ processResources {
163
+ dependsOn(" generatePDLClient" )
164
+ }
165
+ }
You can’t perform that action at this time.
0 commit comments