-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle.kts
43 lines (35 loc) · 1.46 KB
/
build.gradle.kts
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
plugins {
id("java")
id("com.github.sgtsilvio.gradle.utf8")
id("com.github.johnrengelman.shadow")
id("com.github.hierynomus.license")
id("org.owasp.dependencycheck")
}
group = "org.example"
version = "1.0-SNAPSHOT"
repositories {
mavenLocal()
mavenCentral()
}
dependencies {
compileOnly("com.hivemq:hivemq-edge-adapter-sdk:${property("hivemq-edge-adapter-sdk.version")}")
compileOnly("commons-io:commons-io:${property("commons-io.version")}")
compileOnly("com.fasterxml.jackson.core:jackson-databind:${property("jackson.version")}")
compileOnly("org.slf4j:slf4j-api:${property("slf4j.version")}")
}
dependencies {
testImplementation("org.junit.jupiter:junit-jupiter-api:${property("junit.jupiter.version")}")
testImplementation("org.junit.jupiter:junit-jupiter-params:${property("junit.jupiter.version")}")
testImplementation("org.junit.platform:junit-platform-launcher:${property("junit.jupiter.platform.version")}")
testRuntimeOnly("org.junit.jupiter:junit-jupiter-engine:${property("junit.jupiter.version")}")
testImplementation("com.hivemq:hivemq-edge-adapter-sdk:${property("hivemq-edge-adapter-sdk.version")}")
testImplementation("org.mockito:mockito-core:${property("mockito.version")}")
testImplementation("com.fasterxml.jackson.core:jackson-databind:${property("jackson.version")}")
}
tasks.test {
useJUnitPlatform()
}
license {
header = file("HEADER")
mapping("java", "SLASHSTAR_STYLE")
}