Skip to content

Commit c03383c

Browse files
authored
Register task with the right name (#6570)
1 parent bf28e15 commit c03383c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

libraries/apollo-gradle-plugin/src/main/kotlin/com/apollographql/apollo/gradle/internal/DefaultApolloExtension.kt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -858,7 +858,7 @@ abstract class DefaultApolloExtension(
858858
val registry = service.registry
859859
if (registry != null) {
860860
taskProvider = project.registerApolloDownloadSchemaTask(
861-
taskName = ModelNames.downloadApolloSchemaIntrospection(service),
861+
taskName = ModelNames.downloadApolloSchemaRegistry(service),
862862
taskGroup = TASK_GROUP,
863863
schema = project.provider { service.guessSchemaFile(project, registry.schemaFile) },
864864
endpoint = project.provider { null },
@@ -996,4 +996,4 @@ private fun Task.dataBuildersOutputDirectory(): Provider<Directory> {
996996
is ApolloGenerateDataBuildersSourcesTask -> this.outputDirectory
997997
else -> error("Unexpected task $this")
998998
}
999-
}
999+
}

0 commit comments

Comments
 (0)