39 lines
1.1 KiB
Groovy
39 lines
1.1 KiB
Groovy
plugins {
|
|
id 'org.springframework.boot' version '2.4.5'
|
|
id 'io.spring.dependency-management' version '1.0.11.RELEASE'
|
|
id 'java'
|
|
}
|
|
|
|
group = 'org.egovframe.cloud'
|
|
version = '0.1'
|
|
sourceCompatibility = '1.8'
|
|
|
|
repositories {
|
|
mavenCentral()
|
|
}
|
|
|
|
ext {
|
|
set('springCloudVersion', "2020.0.3")
|
|
set('log4j2.version', "2.15.0") // log4j 보안 패치
|
|
}
|
|
|
|
dependencies {
|
|
implementation 'org.springframework.cloud:spring-cloud-config-server'
|
|
implementation 'org.springframework.cloud:spring-cloud-config-monitor' // webhook
|
|
implementation 'org.springframework.cloud:spring-cloud-starter-bootstrap'
|
|
implementation 'org.springframework.cloud:spring-cloud-starter-bus-amqp' // bus
|
|
implementation 'org.springframework.boot:spring-boot-starter-actuator' // bus
|
|
implementation 'net.logstash.logback:logstash-logback-encoder:6.6' // logstash logback
|
|
testImplementation 'org.springframework.boot:spring-boot-starter-test'
|
|
}
|
|
|
|
dependencyManagement {
|
|
imports {
|
|
mavenBom "org.springframework.cloud:spring-cloud-dependencies:${springCloudVersion}"
|
|
}
|
|
}
|
|
|
|
test {
|
|
useJUnitPlatform()
|
|
}
|