Skip to content

Commit

Permalink
refactor(web): Clean up redundant spring property in gradle file (#928)
Browse files Browse the repository at this point in the history
The property spring.config.additional-location is redundant in rosco-web.gradle file. This property is set by class com.netflix.spinnaker.kork.boot.DefaultPropertiesBuilder in com.netflix.spinnaker.rosco.Main. So removing it from gradle file.
  • Loading branch information
j-sandy committed Dec 8, 2022
1 parent 5c4264f commit b0317d0
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions rosco-web/rosco-web.gradle
@@ -1,12 +1,5 @@
apply plugin: 'io.spinnaker.package'

ext {
springConfigLocation = System.getProperty('spring.config.additional-location', "${System.getProperty('user.home')}/.spinnaker/".toString())
}

run {
systemProperty('spring.config.additional-location', project.springConfigLocation)
}
mainClassName = 'com.netflix.spinnaker.rosco.Main'

configurations.all {
Expand Down

0 comments on commit b0317d0

Please sign in to comment.