-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
42 lines (35 loc) · 1.33 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
plugins {
id 'java'
}
group 'org.example'
version '1.0-SNAPSHOT'
repositories {
mavenCentral()
}
dependencies {
testImplementation 'org.junit.jupiter:junit-jupiter-api:5.7.2'
testRuntimeOnly 'org.junit.jupiter:junit-jupiter-engine:5.7.2'
implementation group: 'org.apache.httpcomponents', name: 'httpclient', version: '4.5.13'
implementation group: 'org.hibernate', name: 'hibernate-core', version: '5.5.7.Final'
implementation group: 'com.fasterxml.jackson.core', name: 'jackson-databind', version: '2.12.5'
implementation group: 'com.fasterxml.jackson.core', name: 'jackson-core', version: '2.12.5'
implementation group: 'mysql', name: 'mysql-connector-java', version: '5.1.49'
implementation group: 'org.apache.logging.log4j', name: 'log4j-api', version: '2.14.1'
implementation group: 'org.apache.logging.log4j', name: 'log4j-core', version: '2.14.1'
implementation group: 'org.slf4j', name: 'slf4j-api', version: '1.7.32'
compileOnly group: 'org.projectlombok', name: 'lombok', version: '1.18.20'
}
test {
useJUnitPlatform()
}
compileJava.options.encoding = 'UTF-8'
compileTestJava.options.encoding = 'UTF-8'
tasks.withType(JavaCompile) {
options.encoding = "UTF-8"
}
tasks.withType(Test) {
systemProperty("file.encoding", "UTF-8")
}
tasks.withType(Javadoc){
options.encoding = "UTF-8"
}