-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
62 lines (48 loc) · 1.29 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
plugins {
id 'java'
id "idea"
}
group 'self.spring.mvc'
version '1.0-SNAPSHOT'
repositories {
mavenCentral()
}
ext {
junitVersion = '5.8.1'
}
sourceCompatibility = JavaVersion.VERSION_17
targetCompatibility = JavaVersion.VERSION_17
tasks.withType(JavaCompile) {
options.encoding = 'UTF-8'
}
dependencies {
// Log
implementation 'ch.qos.logback:logback-classic:1.4.1'
implementation 'org.slf4j:slf4j-api:2.0.3'
//Servlet
implementation 'jakarta.servlet:jakarta.servlet-api:5.0.0'
// Tomcat
implementation "org.apache.tomcat.embed:tomcat-embed-core:10.1.13"
implementation "org.apache.tomcat.embed:tomcat-embed-jasper:10.1.13"
implementation "org.apache.commons:commons-lang3:3.13.0"
//Jackson
implementation 'com.fasterxml.jackson.core:jackson-databind:2.12.3'
//Reflections
implementation "org.reflections:reflections:0.10.2"
testImplementation("org.junit.jupiter:junit-jupiter-api:${junitVersion}")
testRuntimeOnly("org.junit.jupiter:junit-jupiter-engine:${junitVersion}")
}
test {
useJUnitPlatform()
}
idea {
module {
inheritOutputDirs = false
outputDir file("src/main/webapp/WEB-INF/classes")
}
}
sourceSets {
main {
java.outputDir = file('src/main/webapp/WEB-INF/classes')
}
}