34 lines
722 B
Groovy
34 lines
722 B
Groovy
plugins {
|
|
id 'org.springframework.boot' version '2.6.3'
|
|
id 'io.spring.dependency-management' version '1.0.11.RELEASE'
|
|
id 'java'
|
|
}
|
|
|
|
group = 'com.just-pickup'
|
|
version = '1.0'
|
|
sourceCompatibility = '11'
|
|
|
|
repositories {
|
|
mavenCentral()
|
|
}
|
|
|
|
ext {
|
|
set('springCloudVersion', "2021.0.0")
|
|
}
|
|
|
|
dependencies {
|
|
implementation 'org.springframework.cloud:spring-cloud-config-server'
|
|
developmentOnly 'org.springframework.boot:spring-boot-devtools'
|
|
testImplementation 'org.springframework.boot:spring-boot-starter-test'
|
|
}
|
|
|
|
dependencyManagement {
|
|
imports {
|
|
mavenBom "org.springframework.cloud:spring-cloud-dependencies:${springCloudVersion}"
|
|
}
|
|
}
|
|
|
|
tasks.named('test') {
|
|
useJUnitPlatform()
|
|
}
|