This is an automated email from the ASF dual-hosted git repository. benw pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/tapestry-5.git
commit cf1ad1ff51f012800a2fcc42a4c32284a95ba891 Author: Ben Weidig <[email protected]> AuthorDate: Mon Mar 30 12:07:06 2026 +0200 TAP5-2809: simplifying tapestry-jpa build.gradle --- tapestry-jpa/build.gradle | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/tapestry-jpa/build.gradle b/tapestry-jpa/build.gradle index 32ffed088..0f7ff48e5 100644 --- a/tapestry-jpa/build.gradle +++ b/tapestry-jpa/build.gradle @@ -17,14 +17,11 @@ dependencies { testRuntimeOnly libs.h2 } -(1..6).each { - - var number = it; - - tasks.register("runTestApp${number}", JavaExec) { - description = "Start app${number} integration test app, useful when debugging failing integration tests" +(1..6).each { n -> + tasks.register("runTestApp${n}", JavaExec) { + description = "Start app${n} integration test app, useful when debugging failing integration tests" mainClass = 'org.apache.tapestry5.test.JettyRunner' - args '-d', "src/test/app${number}", '-p', '8080' + args '-d', "src/test/app${n}", '-p', '8080' classpath = project.sourceSets.test.runtimeClasspath } }
