This is an automated email from the ASF dual-hosted git repository. benw pushed a commit to branch javax in repository https://gitbox.apache.org/repos/asf/tapestry-5.git
commit 3aa116e29ffc21d80bd19827d6aa000e06770e78 Author: Ben Weidig <[email protected]> AuthorDate: Sat Apr 4 16:42:56 2026 +0200 tapestry-jpa: build.gradle test app running simplified --- 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 999996c1f..2bb87cb1d 100644 --- a/tapestry-jpa/build.gradle +++ b/tapestry-jpa/build.gradle @@ -18,14 +18,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 } }
