Skip to content

Conversation

@infotexture
Copy link
Member

Use Cursor’s claude-4-sonnet model to replace deprecated constructs from Gradle 7 and earlier versions with their Gradle 8 and 9 equivalents to quiet deprecation warnings.

@infotexture infotexture self-assigned this Nov 3, 2025
@infotexture infotexture added build Ant/Gradle build scripts & CI/CD issues dependencies Pull requests that update a dependency file labels Nov 3, 2025
@infotexture infotexture changed the base branch from feature/gradle-8-14-3 to develop November 3, 2025 20:24
@infotexture infotexture force-pushed the feature/gradle-9-compatibility branch from 55e8605 to 3d70153 Compare November 3, 2025 20:29
@infotexture infotexture marked this pull request as ready for review November 3, 2025 21:03
@infotexture infotexture force-pushed the feature/gradle-9-compatibility branch from 3d70153 to 95498de Compare November 3, 2025 21:29
Use Cursor’s `claude-4-sonnet` model to replace deprecated constructs from Gradle 7 and earlier versions with their Gradle 8 and 9 equivalents to quiet deprecation warnings.

Co-Authored-By: Claude <[email protected]>
Signed-off-by: Roger Sheen <[email protected]>
@infotexture infotexture force-pushed the feature/gradle-9-compatibility branch from 95498de to e11be3b Compare November 3, 2025 23:13
@infotexture infotexture requested a review from jelovirt November 3, 2025 23:13
@infotexture
Copy link
Member Author

@jelovirt Asked the robots for help refactoring this, and they were able to get rid of most of the deprecation warnings.

There's one left that seems to be coming from eerohele/saxon-gradle plugin, but I'm not sure there's much we can do about that. There's ndw/saxon-gradle, but that was last updated 2 years ago, and also does things during the configuration phase, which sounds incompatible with the new configuration caching in recent Gradle versions.

The docs distribution builds complete successfully, and the site build writes commit metadata to YAML headers as before.

If this looks OK, we can use it as a basis for testing @jyjeanne's new dita-ot-gradle plug-in, but also open to suggestions if there's anything we can do better here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

build Ant/Gradle build scripts & CI/CD issues dependencies Pull requests that update a dependency file

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants