From deae0fed8844e1853081186f9a8bb886b691d04f Mon Sep 17 00:00:00 2001 From: ksrinivasan Date: Wed, 1 Mar 2023 15:52:09 -0800 Subject: [PATCH] Rename config for v2 client. --- .../netflix/graphql/dgs/codegen/gradle/GenerateJavaTask.kt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/graphql-dgs-codegen-gradle/src/main/kotlin/com/netflix/graphql/dgs/codegen/gradle/GenerateJavaTask.kt b/graphql-dgs-codegen-gradle/src/main/kotlin/com/netflix/graphql/dgs/codegen/gradle/GenerateJavaTask.kt index ff10e87b6..080bf0ed1 100644 --- a/graphql-dgs-codegen-gradle/src/main/kotlin/com/netflix/graphql/dgs/codegen/gradle/GenerateJavaTask.kt +++ b/graphql-dgs-codegen-gradle/src/main/kotlin/com/netflix/graphql/dgs/codegen/gradle/GenerateJavaTask.kt @@ -67,7 +67,7 @@ open class GenerateJavaTask : DefaultTask() { var generateClient = false @Input - var generateClientApiv2 = false + var generateClientv2 = false @Input var generateKotlinNullableClasses = false @@ -181,7 +181,7 @@ open class GenerateJavaTask : DefaultTask() { language = Language.valueOf(language.uppercase(Locale.getDefault())), generateBoxedTypes = generateBoxedTypes, generateClientApi = generateClient, - generateClientApiv2 = generateClientApiv2, + generateClientApiv2 = generateClientv2, generateKotlinNullableClasses = generateKotlinNullableClasses, generateKotlinClosureProjections = generateKotlinClosureProjections, generateInterfaces = generateInterfaces,