-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
60 lines (52 loc) · 1.55 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
58
59
60
plugins {
id 'java'
id 'com.github.johnrengelman.shadow' version '6.0.0'
id 'distribution'
}
repositories {
mavenLocal()
maven {
url = uri('http://maven.aliyun.com/nexus/content/groups/public/')
}
maven {
url = uri('http://repo.maven.apache.org/maven2')
}
}
dependencies {
implementation 'com.hivemq:hivemq-extension-sdk:4.3.0'
implementation 'io.projectreactor.kafka:reactor-kafka:1.2.2.RELEASE'
implementation 'de.ruedigermoeller:fst:2.57'
implementation 'org.yaml:snakeyaml:1.26'
implementation 'com.google.inject:guice:4.2.3'
compileOnly 'org.projectlombok:lombok:1.18.12'
annotationProcessor 'org.projectlombok:lombok:1.18.12'
testImplementation 'org.junit.jupiter:junit-jupiter-api:5.3.1'
testRuntimeOnly 'org.junit.jupiter:junit-jupiter-engine:5.3.1'
}
group = 'io.github.gcdd1993.hivemq.extensions'
version = '1.0-SNAPSHOT'
sourceCompatibility = JavaVersion.VERSION_11
targetCompatibility = JavaVersion.VERSION_11
test {
useJUnitPlatform()
}
shadowJar {
archiveBaseName = project.name
archiveVersion = project.version
archiveClassifier = null
}
distributions {
main {
distributionBaseName = project.name
contents {
into("/${project.name}") {
from shadowJar
from 'target/LICENSE.txt'
from 'src/main/resources/hivemq-extension.xml'
from 'src/main/resources/mqttConnectKafka.yaml'
dirMode = 0755
fileMode = 0644
}
}
}
}