-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
57 lines (41 loc) · 2.17 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
plugins {
id 'java'
}
project.version = "1.0.0"
project.group = "com.yurkao"
configurations {
testCompile.extendsFrom compileOnly
testAnnotationProcessor.extendsFrom annotationProcessor
}
repositories {
mavenCentral()
}
test {
useJUnitPlatform()
testLogging.showStandardStreams = true
testLogging.exceptionFormat = 'full'
}
tasks.withType(JavaCompile) {
options.compilerArgs << '-Xlint:unchecked'
options.deprecation = true
}
apply from: "./3rdparties.gradle"
dependencies {
compile group: "dnsjava", name: "dnsjava", version: "${versions.dnsjava}"
compileOnly group: "org.apache.spark", name: "spark-sql_2.12", version: "${versions.spark}"
compileOnly group: "org.apache.spark", name: "spark-core_2.12", version: "${versions.spark}"
testCompile group: "org.apache.spark", name: "spark-sql_2.12", version: "${versions.spark}"
testCompile group: "org.apache.spark", name: "spark-core_2.12", version: "${versions.spark}"
compileOnly group: "org.projectlombok", name: "lombok", version: "${versions.lombok}"
annotationProcessor group: "org.projectlombok", name: "lombok", version: "${versions.lombok}"
testCompileOnly group: "org.projectlombok", name: "lombok", version: "${versions.lombok}"
testAnnotationProcessor group: "org.projectlombok", name: "lombok", version: "${versions.lombok}"
testCompile group: "org.assertj", name: "assertj-core", version: "${versions.assertJ}"
testImplementation group: "org.junit.jupiter", name: "junit-jupiter-api", version: "${versions.junit5}"
testRuntime group: "org.junit.jupiter", name: "junit-jupiter-engine", version: "${versions.junit5}"
testCompile group: "org.junit.jupiter", name: "junit-jupiter-api", version: "${versions.junitJupiter}"
testCompile group: "org.junit.jupiter", name: "junit-jupiter-params", version: "${versions.junitJupiter}"
testRuntimeOnly group: "org.junit.jupiter", name: "junit-jupiter-engine", version: "${versions.junitJupiter}"
testCompile group: "org.testcontainers", name: "testcontainers", version: "${versions.testContainers}"
testCompile group: "org.testcontainers", name: "junit-jupiter", version: "${versions.testContainers}"
}