We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e3b3ef6 commit c6240a6Copy full SHA for c6240a6
build.gradle
@@ -52,9 +52,13 @@ dependencies {
52
def activeProfile = System.getenv("SPRING_PROFILES_ACTIVE") ?: "local"
53
54
processResources {
55
+ println "$activeProfile"
56
+ println System.getenv("DATABASE_USERNAME")
57
+
58
filesMatching("**/application.yaml") {
59
expand(SPRING_PROFILES_ACTIVE: activeProfile)
60
}
61
62
filesMatching("**/application-${activeProfile}.yaml") {
63
expand([
64
DATABASE_URL: System.getenv("DATABASE_URL"),
0 commit comments