-
Notifications
You must be signed in to change notification settings - Fork 1
/
build.gradle
52 lines (42 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
42
43
44
45
46
47
48
49
50
51
52
buildscript {
repositories {
gradlePluginPortal()
maven {
url "https://plugins.gradle.org/m2/"
}
}
dependencies {
classpath 'com.github.johnrengelman:shadow:8.1.1'
}
}
apply plugin: 'com.github.johnrengelman.shadow'
apply plugin: 'java'
def version = '453'
// Output to build/libs/shadow.jar
shadowJar {
archiveBaseName.set('trino-rabbitmq-event-listener')
archiveClassifier.set('')
archiveVersion.set(version)
zip64 = true
duplicatesStrategy = 'include'
}
shadowJar.dependsOn build
repositories {
mavenCentral()
}
dependencies {
// Trino
implementation "io.trino:trino-spi:453"
// Serialization
implementation group: 'com.fasterxml.jackson.core', name: 'jackson-databind', version: '2.14.2'
implementation group: 'com.fasterxml.jackson.core', name: 'jackson-annotations', version: '2.14.2'
implementation group: 'com.fasterxml.jackson.datatype', name: 'jackson-datatype-jsr310', version: '2.15.2'
implementation group: 'com.fasterxml.jackson.datatype', name: 'jackson-datatype-jdk8', version: '2.15.2'
// RabbitMQ
implementation 'com.rabbitmq:amqp-client:5.20.0'
testImplementation platform('org.junit:junit-bom:5.9.1')
testImplementation 'org.junit.jupiter:junit-jupiter'
}
test {
useJUnitPlatform()
}