-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathbuild.gradle.kts
48 lines (41 loc) · 1.02 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
44
45
46
47
48
plugins {
java
alias(libs.plugins.defaults)
alias(libs.plugins.license)
}
group = "com.hivemq.extensions.kafka.customizations"
description = "Hello World Customization for the HiveMQ Enterprise Extensions for Kafka"
java {
toolchain {
languageVersion = JavaLanguageVersion.of(11)
}
}
repositories {
mavenCentral()
}
dependencies {
implementation(libs.hivemq.kafkaExtension.customizationSdk)
}
@Suppress("UnstableApiUsage")
testing {
suites {
"test"(JvmTestSuite::class) {
useJUnitJupiter(libs.versions.junit.jupiter)
dependencies {
implementation(libs.mockito)
runtimeOnly(libs.slf4j.simple)
}
}
}
}
tasks.withType<Jar>().configureEach {
manifest.attributes(
"Implementation-Title" to project.name,
"Implementation-Vendor" to "HiveMQ GmbH",
"Implementation-Version" to project.version,
)
}
license {
header = rootDir.resolve("HEADER")
mapping("java", "SLASHSTAR_STYLE")
}