Skip to content

Commit

Permalink
Merge pull request #2964 from SCADA-LTS/feature/#2963_Gradle_task_opt…
Browse files Browse the repository at this point in the history
…imization

#2963 Gradle task optimization:
  • Loading branch information
Limraj authored Jul 24, 2024
2 parents 58a896b + 349e852 commit 4d0f9cd
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -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']
}

Expand Down

0 comments on commit 4d0f9cd

Please sign in to comment.