52 lines
1.5 KiB
Groovy
52 lines
1.5 KiB
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 = '0.0.1-SNAPSHOT'
|
|
sourceCompatibility = '11'
|
|
|
|
configurations {
|
|
compileOnly {
|
|
extendsFrom annotationProcessor
|
|
}
|
|
}
|
|
|
|
repositories {
|
|
mavenCentral()
|
|
}
|
|
|
|
ext {
|
|
set('springCloudVersion', "2021.0.0")
|
|
}
|
|
|
|
dependencies {
|
|
implementation 'org.springframework.cloud:spring-cloud-starter-circuitbreaker-resilience4j'
|
|
implementation 'org.springframework.cloud:spring-cloud-starter-gateway'
|
|
implementation 'org.springframework.cloud:spring-cloud-starter-netflix-eureka-client'
|
|
// https://mvnrepository.com/artifact/io.jsonwebtoken/jjwt
|
|
implementation 'io.jsonwebtoken:jjwt:0.9.1'
|
|
// https://mvnrepository.com/artifact/io.netty/netty-resolver-dns-native-macos
|
|
implementation 'io.netty:netty-resolver-dns-native-macos:4.1.68.Final:osx-aarch_64'
|
|
// https://mvnrepository.com/artifact/javax.xml.bind/jaxb-api
|
|
implementation 'javax.xml.bind:jaxb-api:2.3.1'
|
|
implementation 'org.springframework.cloud:spring-cloud-starter-config'
|
|
|
|
compileOnly 'org.projectlombok:lombok'
|
|
developmentOnly 'org.springframework.boot:spring-boot-devtools'
|
|
annotationProcessor 'org.projectlombok:lombok'
|
|
testImplementation 'org.springframework.boot:spring-boot-starter-test'
|
|
}
|
|
|
|
dependencyManagement {
|
|
imports {
|
|
mavenBom "org.springframework.cloud:spring-cloud-dependencies:${springCloudVersion}"
|
|
}
|
|
}
|
|
|
|
tasks.named('test') {
|
|
useJUnitPlatform()
|
|
}
|