[
https://issues.apache.org/jira/browse/TAP5-2809?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18057183#comment-18057183
]
Hudson commented on TAP5-2809:
------------------------------
FAILURE: Integrated in Jenkins build Tapestry »
tapestry-javax-java-17-freestyle #111 (See
[https://ci-builds.apache.org/job/Tapestry/job/tapestry-javax-java-17-freestyle/111/])
TAP5-2809: Gradle 8.14.2 -> 8.14.3 (benw: rev
97d91dea583c4c1dabbd471f231fa27e8016f747)
* (edit) gradlew
* (edit) gradle/wrapper/gradle-wrapper.jar
* (edit) gradle/wrapper/gradle-wrapper.properties
* (edit) gradlew.bat
TAP5-2809: Setting java toolchain to 8 (benw: rev
67dba85abc64d5d1d5a6231ee3e42c8eba7233f7)
* (edit) buildSrc/src/main/groovy/tapestry.java-convention.gradle
TAP5-2809: Update dependency version before 5.10 RC (benw: rev
a15d566328685365dab6cb285f646b2a8a92268b)
* (edit) gradle/libs.versions.toml
TAP5-2809: Setting java toolchain in submodules where required (benw: rev
72271970803eee3afbb2d51ddd75507790e95eab)
* (edit) tapestry-latest-java-tests/build.gradle
TAP5-2809: Downgrade H2 to Java 8 compatible version (benw: rev
cd5ea4dd0ba6a1c29872d29392427e544af1be7b)
* (edit) gradle/libs.versions.toml
> Improve/Fix Gradle Setup
> ------------------------
>
> Key: TAP5-2809
> URL: https://issues.apache.org/jira/browse/TAP5-2809
> Project: Tapestry 5
> Issue Type: Task
> Affects Versions: 5.9.1
> Reporter: Ben Weidig
> Assignee: Ben Weidig
> Priority: Major
>
> The current Gradle setup has multiple issues:
> * Pre-Java 8 remnants
> * Incomplete upgrade to JUnit 5
> * Incorrect testng.xml
> * Misaligned dependency version between projects
>
> To improve the situation, I suggest:
> * Remove all pre-Java 8 options
> * Create Gradle conventions for
> ** Subproject setup
> ** JUnit 5 (+Spock)
> ** TestNG (and move testng.xml to default locations)
> ** JUnit 4 for legacy reasons
> * Introducing version catalogs for shared dependencies and a consistent
> declaration of module-specific dependencies.
>
> In a second step, more tasks, like Javadoc-related tasks or publishing, could
> be done with conventions or build plugins, to make them easier to use and
> maintain.
> The overall risk is breaking the build and breaking changes for Tapestry
> users if a dependency is no longer exposed.
> However, choosing the right configuration so as not to accidentally export
> dependencies is more critical, and the error messages should clearly state
> why a build is no longer working.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)