From 349e85211f5de4180e3979133411af1b313d82be Mon Sep 17 00:00:00 2001 From: Kamil Date: Tue, 23 Jul 2024 23:37:42 +0200 Subject: [PATCH] #2963 Gradle task optimization: - removed testUi in tasks: buildRunDebug, buildRunDebugDev, buildRunDebugProd; - added two tasks: buildRunDebugDevTestUi, buildRunDebugProdTestUi; --- build.gradle | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/build.gradle b/build.gradle index 0aba9f146e..276640a818 100644 --- a/build.gradle +++ b/build.gradle @@ -150,14 +150,22 @@ task buildRun(type: GradleBuild) { } task buildRunDebug(type: GradleBuild) { - tasks = ['clearTomcat', 'clearProject', 'test', 'testUi', 'warDev', 'deployTomcat', 'runDebug'] + tasks = ['clearTomcat', 'clearProject', 'test', 'war', 'deployTomcat', 'runDebug'] } task buildRunDebugDev(type: GradleBuild) { - tasks = ['clearTomcat', 'clearProject', 'installWebDependency', 'test', 'testUi', 'warDev', 'deployTomcat', 'runDebug'] + tasks = ['clearTomcat', 'clearProject', 'installWebDependency', 'test', 'warDev', 'deployTomcat', 'runDebug'] } task buildRunDebugProd(type: GradleBuild) { + tasks = ['clearTomcat', 'clearProject', 'installWebDependency', 'test', 'war', 'deployTomcat', 'runDebug'] +} + +task buildRunDebugDevTestUi(type: GradleBuild) { + tasks = ['clearTomcat', 'clearProject', 'installWebDependency', 'test', 'testUi', 'warDev', 'deployTomcat', 'runDebug'] +} + +task buildRunDebugProdTestUi(type: GradleBuild) { tasks = ['clearTomcat', 'clearProject', 'installWebDependency', 'test', 'testUi', 'war', 'deployTomcat', 'runDebug'] }