Conversation
|
Hi @lkasso, We really appreciate the Gradle team taking an interest in keeping Tapestry's build up to date! Here's our reasoning: We are in the final sprint of a significant revamp of our Gradle setup for the next Tapestry version, planned to be released soon. Besides Gradle, we also revamped our CI approach as a whole, using Jenkins multi-branch pipeline matrix builds. Gradle 9 requiring JDK 17+ as the runtime means we'd need to adopt toolchains to keep testing on lower JDK versions. We're aware toolchains can solve this automatically, but we have so far no experience on it, ecspecially on the Apache CI system. We'd want to rely on auto-discovery rather than Foojay auto-provisioning on shared build nodes, so this investigation deserves its own focused effort. Our plan is to use the current stabilization period to research and prototype the toolchain setup against local CI infrastructure for faster iteration times and if we're sure about it, against Apache's CI infrastructure, so that when we do target Gradle 9 (which we're currently planning for 5.11, the release after next), we can do it properly and completely. We will keep this PR open as a reference and starting point for that future work. |
Update taspestry-5 to use Gradle 9.0.0 instead of Gradle 8.14.3.
Summary
SourceTaskbase class inGenerateChecksumswithDefaultTask+ConfigurableFileCollection(abstract method added in Gradle 9)failOnNoDiscoveredTestsglobally for subprojects with test sources but no test classes (e.g.tapestry-openapi-viewer,tapestry-rest-jackson)Test plan
./gradlew buildcompiles and passes on Gradle 9.0.0