Skip to content

Commit

Permalink
update working dir in bootrun task (#3602)
Browse files Browse the repository at this point in the history
Signed-off-by: Pablo Hernán Carle <[email protected]>
Co-authored-by: Pablo Hernán Carle <[email protected]>
  • Loading branch information
pablocarle and Pablo Hernán Carle authored Jun 14, 2024
1 parent f675b88 commit 4c4cd36
Show file tree
Hide file tree
Showing 10 changed files with 32 additions and 2 deletions.
2 changes: 2 additions & 0 deletions api-catalog-services/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -176,6 +176,8 @@ bootRun {
server = true
}

workingDir = project.rootDir

systemProperties = System.properties
}

Expand Down
2 changes: 0 additions & 2 deletions api-catalog-ui/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -104,8 +104,6 @@ task npmBuild(type: NpmTask) {

}



npmBuild.dependsOn npmInstall
npmBuild.dependsOn npmLint
build.dependsOn npmBuild
Expand Down
16 changes: 16 additions & 0 deletions caching-service/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -120,4 +120,20 @@ jar {
archiveClassifier = ""
}

bootRun {
if (project.hasProperty('args')) {
args project.args.split(',')
}

debugOptions {
port = 5016
suspend = false
server = true
}

workingDir = project.rootDir

systemProperties = System.properties
}

bootJar.archiveFileName = bootJar.archiveBaseName.get() + ".jar"
2 changes: 2 additions & 0 deletions cloud-gateway-service/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -128,6 +128,8 @@ bootRun {
server = true
}

workingDir = project.rootDir

systemProperties = System.properties
}

Expand Down
2 changes: 2 additions & 0 deletions discoverable-client/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,8 @@ bootRun {
server = true
}

workingDir = project.rootDir

systemProperties = System.properties
}

Expand Down
2 changes: 2 additions & 0 deletions discovery-service/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -141,6 +141,8 @@ bootRun {
server = true
}

workingDir = project.rootDir

systemProperties = System.properties
}

Expand Down
2 changes: 2 additions & 0 deletions gateway-service/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -173,6 +173,8 @@ bootRun {
server = true
}

workingDir = project.rootDir

systemProperties = System.properties
}

Expand Down
2 changes: 2 additions & 0 deletions metrics-service/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -134,6 +134,8 @@ bootRun {
server = true
}

workingDir = project.rootDir

systemProperties = System.properties
}

Expand Down
2 changes: 2 additions & 0 deletions mock-services/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,8 @@ bootRun {
server = true
}

workingDir = project.rootDir

systemProperties = System.properties
}

Expand Down
2 changes: 2 additions & 0 deletions onboarding-enabler-spring-sample-app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -55,5 +55,7 @@ bootRun {
server = true
}

workingDir = project.rootDir

systemProperties = System.properties
}

0 comments on commit 4c4cd36

Please sign in to comment.