forked from cosee/itm_viewer
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
45 lines (38 loc) · 902 Bytes
/
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
plugins {
id 'java'
id 'org.jetbrains.intellij' version '1.13.3'
id 'com.diffplug.spotless' version '6.17.0'
}
group 'org.cosee'
version '1.2.0'
sourceCompatibility = JavaVersion.VERSION_17
repositories {
mavenCentral()
}
dependencies {
compileOnly 'org.projectlombok:lombok:1.18.26'
annotationProcessor 'org.projectlombok:lombok:1.18.26'
testImplementation group: 'junit', name: 'junit', version: '4.13.2'
testRuntimeOnly group: 'org.junit.vintage', name: 'junit-vintage-engine', version: '5.8.2'
}
test {
useJUnitPlatform()
}
// See https://github.com/JetBrains/gradle-intellij-plugin/
intellij {
version = '2022.3'
type = 'CL'
}
patchPluginXml {
changeNotes = """
First release
Version bump"""
}
spotless {
java {
importOrder()
removeUnusedImports()
googleJavaFormat()
formatAnnotations()
}
}