Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
lucaconsalvi committed Nov 22, 2024
1 parent 5f04243 commit c8fdcad
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 1 deletion.
10 changes: 10 additions & 0 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -106,4 +106,14 @@ graalvmNative {
jvmArgs.add("-Djava.security.properties=${file("${projectDir}/src/main/resources/custom.security").absolutePath}")
}
}
}

bootRun {
jvmArgs = [
'-Djava.security.properties=src/main/resources/custom.security'
]
}

tasks.withType(JavaExec) {
jvmArgs += '-Djava.security.properties=src/main/resources/custom.security'
}
2 changes: 1 addition & 1 deletion src/main/resources/application.properties
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ management.endpoint.health.probes.enabled=true

#repository
cosmos.credential.db-name=${DB_NAME:rtp}
cosmos.credential.endpoint=${COSMOS_CONNECTION_STRING}
cosmos.credential.endpoint=${COSMOS_CONNECTION_STRING:""}


activation.base-url=${BASE_URL:"http://localhost"}

0 comments on commit c8fdcad

Please sign in to comment.