From de4f6ccb97b295045edd8bab7ab8ec0af2f77be0 Mon Sep 17 00:00:00 2001 From: Jake Date: Fri, 17 Jan 2025 15:08:30 +0100 Subject: [PATCH] Adding per version tests: attempt 2 --- build.gradle | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/build.gradle b/build.gradle index 393c264f..e846f1f9 100644 --- a/build.gradle +++ b/build.gradle @@ -98,16 +98,16 @@ void createTestTask(String name, String desc, String environments, int javaVersi timeout ] - // Do first is used when throwing exceptions. - // This way it's not called when defining the task. - doFirst { - if (!gradle.taskGraph.hasTask(":tasks") && !gradle.startParameter.dryRun) { - if (!project.hasProperty('profiler')) - throw new MissingPropertyException('Add parameter -Pprofiler=', 'profiler', String.class) - - args += '-agentpath:' + project.property('profiler') + '=port=8849,nowait' - } - } + //// Do first is used when throwing exceptions. + //// This way it's not called when defining the task. + //doFirst { + // if (!gradle.taskGraph.hasTask(":tasks") && !gradle.startParameter.dryRun) { + // if (!project.hasProperty('profiler')) + // throw new MissingPropertyException('Add parameter -Pprofiler=', 'profiler', String.class) +// + // args += '-agentpath:' + project.property('profiler') + '=port=8849,nowait' + // } + //} } }