-
Notifications
You must be signed in to change notification settings - Fork 72
/
build.gradle
41 lines (34 loc) · 1.31 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
buildscript {
dependencies {
classpath('com.linkedin.transport:transportable-udfs-plugin')
}
}
apply plugin: 'java'
apply plugin: 'com.linkedin.transport.plugin'
dependencies {
// TODO: Reference all external dependencies from a single gradle file
implementation('com.google.guava:guava:24.1-jre')
implementation('org.apache.commons:commons-io:1.3.2')
testImplementation('io.airlift:aircompressor:0.21')
testImplementation('org.junit.jupiter:junit-jupiter-api:5.9.2')
}
// As the tasks of trinoDistThinJar and trinoTrinJar are from Transport plugin which is built by Gradle 7.5.1,
// it requires the explicit definition of duplicatesStrategy.
trinoDistThinJar {
duplicatesStrategy(DuplicatesStrategy.WARN)
}
trinoThinJar {
duplicatesStrategy(DuplicatesStrategy.WARN)
}
trinoTest {
systemProperties['trinoTest'] = true
}
// If the license plugin is applied, disable license checks for the autogenerated source sets
plugins.withId('com.github.hierynomus.license') {
tasks.getByName('licenseTrino').enabled = false
tasks.getByName('licenseHive').enabled = false
tasks.getByName('licenseSpark_2.11').enabled = false
tasks.getByName('licenseSpark_2.12').enabled = false
}
// TODO: Add a debugPlatform flag to allow debugging specific test methods in IntelliJ
// for a particular platform other than default