-
Notifications
You must be signed in to change notification settings - Fork 1
/
build.gradle
56 lines (44 loc) · 1.43 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
plugins {
id 'java'
}
group = 'org.opendatadiscovery'
sourceCompatibility = '8'
repositories {
mavenLocal()
mavenCentral()
}
configurations {
// configuration that holds jars to include in the jar
extraLibs
}
configurations.all {
exclude group: 'org.springframework.boot', module: 'spring-boot-starter-logging'
resolutionStrategy {
force "com.fasterxml.jackson:jackson-bom:2.13.4"
}
}
dependencies {
compileOnly "org.apache.spark:spark-core_2.12:3.3.1"
compileOnly "org.apache.spark:spark-sql_2.12:3.3.1"
compileOnly "org.apache.spark:spark-hive_2.12:3.3.1"
compileOnly "net.snowflake:spark-snowflake_2.12:2.11.0-spark_3.3"
compileOnly "org.apache.spark:spark-sql-kafka-0-10_2.12:3.3.1"
extraLibs "org.springframework.boot:spring-boot-starter-webflux:2.5.0"
extraLibs "org.opendatadiscovery:oddrn-generator-java:0.1.15"
extraLibs "org.opendatadiscovery:ingestion-contract-client:0.1.19"
extraLibs "com.github.jsqlparser:jsqlparser:4.2"
extraLibs 'commons-validator:commons-validator:1.7'
compileOnly "org.projectlombok:lombok:1.18.24"
annotationProcessor "org.projectlombok:lombok:1.18.24"
configurations.compileOnly.extendsFrom(configurations.extraLibs)
}
test {
useJUnitPlatform()
}
jar {
duplicatesStrategy = DuplicatesStrategy.EXCLUDE
from {
configurations.extraLibs.collect { it.isDirectory() ? it : zipTree(it) }
}
zip64 true
}