45 lines
1.4 KiB
Groovy
45 lines
1.4 KiB
Groovy
plugins {
|
|
id 'java'
|
|
id 'org.springframework.boot' version '2.7.9'
|
|
id 'io.spring.dependency-management' version '1.0.15.RELEASE'
|
|
}
|
|
|
|
group = 'kiz.app'
|
|
version = '0.0.1-SNAPSHOT'
|
|
sourceCompatibility = '17'
|
|
|
|
repositories {
|
|
mavenCentral()
|
|
}
|
|
|
|
ext {
|
|
set('springCloudVersion', "2021.0.5")
|
|
}
|
|
|
|
dependencies {
|
|
implementation 'org.springframework.boot:spring-boot-starter-actuator'
|
|
implementation 'org.springframework.boot:spring-boot-starter-validation'
|
|
implementation 'org.springframework.boot:spring-boot-starter-webflux'
|
|
implementation 'org.springframework.cloud:spring-cloud-starter-bootstrap'
|
|
implementation 'org.springframework.cloud:spring-cloud-starter-config'
|
|
implementation 'org.springframework.cloud:spring-cloud-starter-gateway'
|
|
implementation 'org.springframework.cloud:spring-cloud-starter-netflix-eureka-client'
|
|
implementation 'io.jsonwebtoken:jjwt-api:0.11.2'
|
|
runtimeOnly 'io.jsonwebtoken:jjwt-impl:0.11.2', 'io.jsonwebtoken:jjwt-jackson:0.11.2'
|
|
compileOnly 'org.projectlombok:lombok'
|
|
developmentOnly 'org.springframework.boot:spring-boot-devtools'
|
|
annotationProcessor 'org.projectlombok:lombok'
|
|
testImplementation 'org.springframework.boot:spring-boot-starter-test'
|
|
testImplementation 'io.projectreactor:reactor-test'
|
|
}
|
|
|
|
dependencyManagement {
|
|
imports {
|
|
mavenBom "org.springframework.cloud:spring-cloud-dependencies:${springCloudVersion}"
|
|
}
|
|
}
|
|
|
|
tasks.named('test') {
|
|
useJUnitPlatform()
|
|
}
|