-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
42 lines (36 loc) ยท 1.42 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")
id("checkstyle")
id("pmd")
}
repositories {
mavenCentral()
}
apply plugin: ("java")
apply plugin: ("checkstyle")
apply plugin: ("pmd")
apply(from: "${rootDir}/script/analysis/pmd.gradle")
apply(from: "${rootDir}/script/analysis/checkstyle.gradle")
dependencies {
// App
implementation("com.google.guava:guava:${guavaVersion}")
implementation("ch.qos.logback:logback-classic:${logbackVersion}")
implementation("org.apache.commons:commons-dbcp2:${commonsDbcp2Version}")
implementation("org.reflections:reflections:${reflectionsVersion}")
implementation('com.fasterxml.jackson.core:jackson-databind:2.17.0')
implementation('com.fasterxml.jackson.dataformat:jackson-dataformat-yaml:2.16.1')
runtimeOnly("com.mysql:mysql-connector-j:8.1.0")
// Test
testRuntimeOnly("org.junit.jupiter:junit-jupiter-engine:${junitJupiterVersion}")
testImplementation("org.junit.jupiter:junit-jupiter-api:${junitJupiterVersion}")
testImplementation("org.assertj:assertj-core:${assertjVersion}")
testImplementation("org.junit.jupiter:junit-jupiter-params:5.10.0")
// Lombok
compileOnly("org.projectlombok:lombok:${lombokVersion}")
testCompileOnly("org.projectlombok:lombok:${lombokVersion}")
annotationProcessor("org.projectlombok:lombok:${lombokVersion}")
testAnnotationProcessor("org.projectlombok:lombok:${lombokVersion}")
}
test {
useJUnitPlatform()
}