-
Notifications
You must be signed in to change notification settings - Fork 1
/
build.gradle
61 lines (53 loc) · 1.61 KB
/
build.gradle
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
plugins {
id 'org.springframework.boot' version '3.4.0'
id 'io.spring.dependency-management' version '1.1.6'
id 'io.freefair.lombok' version '8.11'
id 'java'
id 'io.github.itzg.simple-boot-image' version '3.4.1'
// https://github.com/qoomon/gradle-git-versioning-plugin
id 'me.qoomon.git-versioning' version '6.4.4'
}
group = 'io.github.itzg'
version = '0.0.1-SNAPSHOT'
gitVersioning.apply {
refs {
tag('.+') {
version = '${ref}'
}
branch('main') {
version = '${describe.tag}-SNAPSHOT'
}
branch('.+') {
version = '${ref}-SNAPSHOT'
}
}
}
java {
sourceCompatibility = JavaVersion.VERSION_21
}
configurations {
compileOnly {
extendsFrom annotationProcessor
}
}
repositories {
mavenCentral()
}
dependencies {
implementation 'org.springframework.boot:spring-boot-starter-actuator'
implementation 'org.springframework.boot:spring-boot-starter-webflux'
implementation 'org.springframework.boot:spring-boot-starter-validation'
implementation 'io.fabric8:kubernetes-client:6.13.4'
implementation 'com.nimbusds:nimbus-jose-jwt:9.47'
implementation 'org.bouncycastle:bcpkix-jdk18on:1.79'
developmentOnly 'org.springframework.boot:spring-boot-devtools'
annotationProcessor 'org.springframework.boot:spring-boot-configuration-processor'
testImplementation 'org.springframework.boot:spring-boot-starter-test'
testImplementation 'io.projectreactor:reactor-test'
}
tasks.named('test', Test) {
useJUnitPlatform()
}
simpleBootImage {
baseImage = 'eclipse-temurin:21'
}