Commit d6a4b0e 1 parent 5067dbc commit d6a4b0e Copy full SHA for d6a4b0e
File tree 1 file changed +13
-16
lines changed
1 file changed +13
-16
lines changed Original file line number Diff line number Diff line change @@ -49,28 +49,25 @@ dependencies {
49
49
testRuntimeOnly ' org.junit.platform:junit-platform-launcher'
50
50
}
51
51
52
+ def activeProfile = System . getenv(" SPRING_PROFILES_ACTIVE" ) ?: " local"
52
53
54
+ processResources {
55
+ println " --------------"
56
+ println System . getenv(" DATABASE_USERNAME" ). length()
53
57
58
+ filesMatching(" **/application.yaml" ) {
59
+ expand(SPRING_PROFILES_ACTIVE : activeProfile)
60
+ }
54
61
55
- clean. doFirst {
56
- def activeProfile = System . getenv(" SPRING_PROFILES_ACTIVE" ) ?: " local"
57
- processResources {
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" ),
65
- DATABASE_USERNAME : System . getenv(" DATABASE_USERNAME" ),
66
- DATABASE_PASSWORD : System . getenv(" DATABASE_PASSWORD" )
67
- ])
68
- }
62
+ 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
+ ])
69
68
}
70
69
}
71
70
72
-
73
-
74
71
// queryDsl 설정 ↓↓↓
75
72
def querydslDir = " src/main/generated"
76
73
sourceSets {
You can’t perform that action at this time.
0 commit comments