-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
46 lines (38 loc) · 1.19 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
import java.nio.charset.StandardCharsets
plugins {
id 'war'
id 'java'
}
group 'org.example'
version '1.0-SNAPSHOT'
repositories {
mavenCentral()
}
dependencies {
implementation('org.codehaus.groovy:groovy-all:3.0.9')
// Tomcat8/9
implementation('javax.servlet:javax.servlet-api:4.0.1')
// Tomcat10
implementation('jakarta.servlet:jakarta.servlet-api:5.0.0')
implementation('com.google.code.gson:gson:2.8.9')
implementation('org.apache.logging.log4j:log4j-core:2.17.0')
compileOnly('org.projectlombok:lombok:1.18.22')
annotationProcessor('org.projectlombok:lombok:1.18.22')
testCompileOnly('org.projectlombok:lombok:1.18.22')
testAnnotationProcessor('org.projectlombok:lombok:1.18.22')
testImplementation('org.mockito:mockito-core:4.2.0')
testImplementation('org.assertj:assertj-core:3.21.0')
testImplementation('org.apache.logging.log4j:log4j-core:2.17.0')
testImplementation('org.junit.jupiter:junit-jupiter:5.8.2')
testRuntimeOnly('org.junit.platform:junit-platform-launcher')
}
java {
sourceCompatibility(JavaVersion.VERSION_17)
targetCompatibility(JavaVersion.VERSION_17)
}
tasks.withType(JavaCompile) {
options.encoding(StandardCharsets.UTF_8.name())
}
test {
useJUnitPlatform()
}