Skip to content

Commit

Permalink
#2991 Upgrade Gradle to version 7.6.3:
Browse files Browse the repository at this point in the history
- corrected build.gradle;
  • Loading branch information
Limraj committed Sep 10, 2024
1 parent 817a592 commit 5beb0c5
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,13 @@ task existsScadaLTSWarFile {
}
}

task deployTomcat(type: Copy, dependsOn: existsScadaLTSWarFile) {
task deployTomcat(type: Copy, dependsOn: [war, existsScadaLTSWarFile]) {
from "build/libs/"
into System.getenv("CATALINA_HOME")+ "/webapps"
include('Scada-LTS.war')
}

task deployTomcatDev(type: Copy, dependsOn: [warDev, existsScadaLTSWarFile]) {
from "build/libs/"
into System.getenv("CATALINA_HOME")+ "/webapps"
include('Scada-LTS.war')
Expand Down Expand Up @@ -154,15 +160,15 @@ task buildRunDebug(type: GradleBuild) {
}

task buildRunDebugDev(type: GradleBuild) {
tasks = ['clearTomcat', 'clearProject', 'installWebDependency', 'test', 'warDev', 'deployTomcat', 'runDebug']
tasks = ['clearTomcat', 'clearProject', 'installWebDependency', 'test', 'warDev', 'deployTomcatDev', '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']
tasks = ['clearTomcat', 'clearProject', 'installWebDependency', 'test', 'testUi', 'warDev', 'deployTomcatDev', 'runDebug']
}

task buildRunDebugProdTestUi(type: GradleBuild) {
Expand Down

0 comments on commit 5beb0c5

Please sign in to comment.