-
Notifications
You must be signed in to change notification settings - Fork 4
/
build.gradle
73 lines (63 loc) · 2.21 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
62
63
64
65
66
67
68
69
70
71
72
73
plugins {
id "idea"
id "java-library"
id "org.jetbrains.kotlin.jvm" version "1.9.25"
id "org.jetbrains.kotlin.kapt" version "1.9.25" apply false
id "org.jetbrains.kotlin.plugin.jpa" version "1.9.25" apply false
id "org.jetbrains.kotlin.plugin.spring" version "1.9.25" apply false
id "org.jlleitschuh.gradle.ktlint" version "12.1.1" apply false
id "org.springframework.boot" version "3.2.8" apply false
id "com.gorylenko.gradle-git-properties" version "2.4.1" apply false
id "com.adarshr.test-logger" version "4.0.0" apply false
id "io.spring.dependency-management" version "1.1.6"
}
ext {
kotlinVersion = "1.9.25"
springBootVersion = "3.2.8"
springCircuitBreakerVersion = "3.1.1"
validationApiVersion = "2.0.1.Final"
gsonVersion = "2.8.5"
jwtVersion = "4.4.0"
openApiVersion = "2.6.0"
logbookVersion = "2.16.0"
logstashEncoderVersion = "7.4"
postgresContainerVersion = "1.19.0"
}
subprojects { ->
apply plugin: "idea"
apply plugin: "kotlin"
apply plugin: "org.jlleitschuh.gradle.ktlint"
apply plugin: "io.spring.dependency-management"
idea {
module {
downloadJavadoc = true
downloadSources = true
}
}
[compileKotlin, compileTestKotlin]*.kotlinOptions*.jvmTarget = "17"
repositories {
mavenCentral()
}
ktlint {
version.set("1.1.1")
}
dependencyManagement {
imports {
mavenBom "org.springframework.boot:spring-boot-dependencies:$springBootVersion"
mavenBom "org.springframework.cloud:spring-cloud-circuitbreaker-dependencies:$springCircuitBreakerVersion"
}
}
dependencies {
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk8"
implementation "org.jetbrains.kotlin:kotlin-reflect"
implementation "com.fasterxml.jackson.module:jackson-module-kotlin"
implementation "javax.validation:validation-api:$validationApiVersion"
implementation "org.apache.commons:commons-lang3"
implementation "com.google.code.gson:gson"
}
processResources {
filesMatching(["**/properties-from-gradle.properties"]) {
expand(project.properties)
}
}
}