huaxingao opened a new pull request, #16278:
URL: https://github.com/apache/iceberg/pull/16278

   Supersedes #16274.
   
   The dependabot PR fails CI because plugin 7.22.0 [migrated to Gradle's Lazy 
Configuration 
API](https://github.com/OpenAPITools/openapi-generator/pull/23042), changing 
`ValidateTask.inputSpec` from `String` to a `RegularFileProperty`. Passing a 
Groovy `GString` now fails configuration with:
   
   ```
   Cannot set the value of task ':iceberg-aws:validateS3SignerSpec' property 
'inputSpec'
   of type org.gradle.api.file.RegularFile
   using an instance of type org.codehaus.groovy.runtime.GStringImpl.
   ```
   
   This is a configuration-time error that breaks every Gradle invocation, 
which is why nearly all CI jobs failed on #16274.
   
   This PR makes the same plugin bump and migrates the two affected call sites 
(`validateS3SignerSpec` in `iceberg-aws`, `validateRESTCatalogSpec` in 
`iceberg-open-api`) to construct `inputSpec` via 
`layout.projectDirectory.file(...)`, which yields a proper `RegularFile`.
   
   Verified locally:
   
   ```
   $ ./gradlew :iceberg-aws:validateS3SignerSpec 
:iceberg-open-api:validateRESTCatalogSpec
   
   > Task :iceberg-open-api:validateRESTCatalogSpec
   Validating spec /.../open-api/rest-catalog-open-api.yaml
   Spec is valid.
   
   > Task :iceberg-aws:validateS3SignerSpec
   Validating spec /.../aws/src/main/resources/s3-signer-open-api.yaml
   Spec is valid.
   
   BUILD SUCCESSFUL
   ```
   
   Made with [Cursor](https://cursor.com)


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to