File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
graphql-dgs-codegen-gradle/src/main/kotlin/com/netflix/graphql/dgs/codegen/gradle Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -155,12 +155,12 @@ open class GenerateJavaTask @Inject constructor(
155155
156156 @Classpath
157157 val dgsCodegenClasspath: ConfigurableFileCollection = objectFactory.fileCollection().from(
158- project.configurations.named (" dgsCodegen" )
158+ project.configurations.findByName (" dgsCodegen" )
159159 )
160160
161161 @TaskAction
162162 fun generate () {
163- val schemaJarFilesFromDependencies = dgsCodegenClasspath.toList()
163+ val schemaJarFilesFromDependencies = dgsCodegenClasspath.files. toList()
164164 val schemaPaths = schemaPaths.map { Paths .get(it.toString()).toFile() }.sorted().toSet()
165165 schemaPaths.filter { ! it.exists() }.forEach {
166166 logger.warn(" Schema location ${it.absolutePath} does not exist" )
You can’t perform that action at this time.
0 commit comments