Commit 0a61a2e 1 parent 34a14fe commit 0a61a2e Copy full SHA for 0a61a2e
File tree 1 file changed +22
-11
lines changed
1 file changed +22
-11
lines changed Original file line number Diff line number Diff line change @@ -52,22 +52,33 @@ dependencies {
52
52
def activeProfile = System . getenv(" SPRING_PROFILES_ACTIVE" ) ?: " local"
53
53
54
54
processResources {
55
- println " --------------"
56
- println System . getenv(" DATABASE_USERNAME" ). length()
57
-
58
- filesMatching(" application.yaml" ) {
59
- expand(SPRING_PROFILES_ACTIVE : activeProfile)
60
- }
55
+ println System . getenv(" DATABASE_USERNAME" )
56
+ println activeProfile
61
57
62
58
filesMatching(" **/application-${ activeProfile} .yaml" ) {
63
- expand([
64
- DATABASE_URL : System . getenv(" DATABASE_URL" ),
65
- DATABASE_USERNAME : System . getenv(" DATABASE_USERNAME" ),
66
- DATABASE_PASSWORD : System . getenv(" DATABASE_PASSWORD" )
67
- ])
59
+ expand(DATABASE_USERNAME : System . getenv(" DATABASE_USERNAME" ))
68
60
}
69
61
}
70
62
63
+ // def activeProfile = System.getenv("SPRING_PROFILES_ACTIVE") ?: "local"
64
+ //
65
+ // processResources {
66
+ // println "--------------"
67
+ // println System.getenv("DATABASE_USERNAME").length()
68
+ //
69
+ // filesMatching("application.yaml") {
70
+ // expand(SPRING_PROFILES_ACTIVE: activeProfile)
71
+ // }
72
+ //
73
+ // filesMatching("**/application-${activeProfile}.yaml") {
74
+ // expand([
75
+ // DATABASE_URL: System.getenv("DATABASE_URL"),
76
+ // DATABASE_USERNAME: System.getenv("DATABASE_USERNAME"),
77
+ // DATABASE_PASSWORD: System.getenv("DATABASE_PASSWORD")
78
+ // ])
79
+ // }
80
+ // }
81
+
71
82
// queryDsl 설정 ↓↓↓
72
83
def querydslDir = " src/main/generated"
73
84
sourceSets {
You can’t perform that action at this time.
0 commit comments