File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -88,10 +88,10 @@ You can also refer to build.gradle files in example projects: [example-client/bu
8888
8989#### build.gradle.kts:
9090
91- ``` groovy
92- tasks.named<GraphqlCodegenGradleTask >("graphqlCodegen") {
93- graphqlSchemaPaths = listOf("$projectDir/src/main/resources/graphql/schema.graphqls".toString() )
94- outputDir = new File("$buildDir/generated")
91+ ``` kotlin
92+ tasks.named<GraphQLCodegenGradleTask >(" graphqlCodegen" ) {
93+ graphqlSchemaPaths = listOf (" $projectDir /src/main/resources/graphql/schema.graphqls" )
94+ outputDir = File (" $buildDir /generated" )
9595 packageName = " com.example.graphql.model"
9696 customTypesMapping = mutableMapOf (Pair (" EpochMillis" , " java.time.LocalDateTime" ))
9797 customAnnotationsMapping = mutableMapOf (Pair (" EpochMillis" , " com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.example.json.EpochMillisScalarDeserializer.class" ))
You can’t perform that action at this time.
0 commit comments