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