-
Notifications
You must be signed in to change notification settings - Fork 75
/
build.gradle.kts
52 lines (42 loc) · 1 KB
/
build.gradle.kts
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
plugins {
id("org.jetbrains.intellij") version "1.17.1"
id("com.diffplug.spotless") version "6.25.0"
}
group = "pl.mjedynak"
version = "1.5.0-SNAPSHOT"
repositories {
mavenCentral()
}
dependencies {
testRuntimeOnly("org.junit.jupiter:junit-jupiter-engine:5.10.2")
testImplementation("org.junit.jupiter:junit-jupiter-api:5.10.2")
testImplementation("org.mockito:mockito-junit-jupiter:5.10.0")
testImplementation("org.assertj:assertj-core:3.25.3")
testImplementation("org.springframework:spring-test:6.1.4")
}
intellij {
version.set("2023.3")
type.set("IC") // Target IDE Platform
plugins.set(listOf("java"))
}
tasks {
withType<JavaCompile> {
sourceCompatibility = "17"
targetCompatibility = "17"
}
patchPluginXml {
sinceBuild.set("233.11799.241")
untilBuild.set("")
}
test {
useJUnitPlatform()
}
wrapper {
gradleVersion = "8.6"
}
}
spotless {
java {
palantirJavaFormat()
}
}