File tree 1 file changed +2
-2
lines changed
graphql-dgs-codegen-gradle/src/main/kotlin/com/netflix/graphql/dgs/codegen/gradle
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(
155
155
156
156
@Classpath
157
157
val dgsCodegenClasspath: ConfigurableFileCollection = objectFactory.fileCollection().from(
158
- project.configurations.named (" dgsCodegen" )
158
+ project.configurations.findByName (" dgsCodegen" )
159
159
)
160
160
161
161
@TaskAction
162
162
fun generate () {
163
- val schemaJarFilesFromDependencies = dgsCodegenClasspath.toList()
163
+ val schemaJarFilesFromDependencies = dgsCodegenClasspath.files. toList()
164
164
val schemaPaths = schemaPaths.map { Paths .get(it.toString()).toFile() }.sorted().toSet()
165
165
schemaPaths.filter { ! it.exists() }.forEach {
166
166
logger.warn(" Schema location ${it.absolutePath} does not exist" )
You can’t perform that action at this time.
0 commit comments