MINOR: Remove unnecessary call to asCollection causing eager dependency resolution
Reviewers: Mickael Maison Nelson Osacky
@@ -2741,7 +2741,7 @@ project(':connect:runtime') {
task genConnectOpenAPIDocs(type: io.swagger.v3.plugins.gradle.tasks.ResolveTask, dependsOn: setVersionInOpenAPISpec) {
classpath = sourceSets.main.runtimeClasspath
- buildClasspath = classpath + configurations.swagger.asCollection()
+ buildClasspath = classpath + configurations.swagger
outputFileName = 'connect_rest'
outputFormat = 'YAML'
prettyPrint = 'TRUE'
