Skip to content

Commit 52cc89f

Browse files
committed
fix: build
1 parent 404ee03 commit 52cc89f

File tree

3 files changed

+12
-12
lines changed

3 files changed

+12
-12
lines changed

flightSelection-backend/build.gradle.kts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -30,23 +30,23 @@ task("cleanNestJs") {
3030

3131
task("buildNestJs") {
3232
if (project.hasProperty("withNestJs")) {
33-
exec {
33+
providers.exec {
3434
logger.info("Task buildNestJs - npm install")
3535
workingDir("src/nestjs")
3636
if (System.getProperty("os.name").uppercase().contains("WINDOWS")) {
3737
commandLine("npm.cmd", "install")
3838
} else {
3939
commandLine("npm", "install")
4040
}
41-
}
42-
exec {
41+
}.result.get()
42+
providers.exec {
4343
logger.info("Task buildNestJs - npm run build")
4444
workingDir("src/nestjs")
4545
if (System.getProperty("os.name").uppercase().contains("WINDOWS")) {
4646
commandLine("npm.cmd", "run", "build")
4747
} else {
4848
commandLine("npm", "run", "build")
4949
}
50-
}
50+
}.result.get()
5151
}
5252
}

flightSelection-frontend/build.gradle.kts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -41,23 +41,23 @@ task("cleanAngular") {
4141

4242
task("buildAngular") {
4343
if(project.hasProperty("withAngular")) {
44-
exec {
44+
providers.exec {
4545
logger.info("Task buildAngular - npm install")
4646
workingDir ("src/angular")
4747
if (System.getProperty("os.name").uppercase().contains("WINDOWS")){
4848
commandLine("npm.cmd", "install")
4949
} else {
5050
commandLine("npm", "install")
5151
}
52-
}
53-
exec {
52+
}.result.get()
53+
providers.exec {
5454
logger.info("Task buildAngular - npm run build")
5555
workingDir("src/angular")
5656
if (System.getProperty("os.name").uppercase().contains("WINDOWS")){
5757
commandLine("npm.cmd", "run", "build")
5858
} else {
5959
commandLine("npm", "run", "build")
6060
}
61-
}
61+
}.result.get()
6262
}
6363
}

hotelSelection-frontend/build.gradle.kts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -41,23 +41,23 @@ task("cleanAngular") {
4141

4242
task("buildAngular") {
4343
if(project.hasProperty("withAngular")) {
44-
exec {
44+
providers.exec {
4545
logger.info("Task buildAngular - npm install")
4646
workingDir ("src/angular")
4747
if (System.getProperty("os.name").uppercase().contains("WINDOWS")){
4848
commandLine("npm.cmd", "install")
4949
} else {
5050
commandLine("npm", "install")
5151
}
52-
}
53-
exec {
52+
}.result.get()
53+
providers.exec {
5454
logger.info("Task buildAngular - npm run build")
5555
workingDir("src/angular")
5656
if (System.getProperty("os.name").uppercase().contains("WINDOWS")){
5757
commandLine("npm.cmd", "run", "build")
5858
} else {
5959
commandLine("npm", "run", "build")
6060
}
61-
}
61+
}.result.get()
6262
}
6363
}

0 commit comments

Comments
 (0)