forked from bakdata/fluent-kafka-streams-tests
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle.kts
71 lines (61 loc) · 2.21 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
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
plugins {
// release
id("net.researchgate.release") version "2.8.0"
id("com.bakdata.sonar") version "1.1.4"
id("com.bakdata.sonatype") version "1.1.4"
id("org.hildan.github.changelog") version "0.8.0"
}
allprojects {
group = "com.bakdata.${rootProject.name}"
tasks.withType<Test> {
maxParallelForks = 4
}
repositories {
mavenCentral()
maven(url = "http://packages.confluent.io/maven/")
}
}
configure<com.bakdata.gradle.SonatypeSettings> {
developers {
developer {
name.set("Arvid Heise")
id.set("AHeise")
}
developer {
name.set("Lawrence Benson")
id.set("lawben")
}
}
}
configure<org.hildan.github.changelog.plugin.GitHubChangelogExtension> {
githubUser = "bakdata"
futureVersionTag = findProperty("changelog.releaseVersion")?.toString()
sinceTag = findProperty("changelog.sinceTag")?.toString()
}
subprojects {
apply(plugin = "java-library")
// build fails for java 11, let"s wait for a newer lombok version
configure<JavaPluginConvention> {
sourceCompatibility = JavaVersion.VERSION_11
targetCompatibility = JavaVersion.VERSION_11
}
tasks.withType<Javadoc> {
options {
(this as StandardJavadocDocletOptions).apply {
addBooleanOption("html5", true)
stylesheetFile(File("$rootDir/src/main/javadoc/assertj-javadoc.css"))
addBooleanOption("-allow-script-in-comments", true)
header("<script src=\"http://cdn.jsdelivr.net/highlight.js/8.6/highlight.min.js\"></script>")
footer("<script type=\"text/javascript\">\nhljs.initHighlightingOnLoad();\n</script>")
}
}
}
dependencies {
"testImplementation"(group = "org.slf4j", name = "slf4j-log4j12", version = "1.7.25")
"testImplementation"(group = "org.assertj", name = "assertj-core", version = "3.11.1")
"compileOnly"("org.projectlombok:lombok:1.18.6")
"annotationProcessor"("org.projectlombok:lombok:1.18.6")
"testCompileOnly"("org.projectlombok:lombok:1.18.6")
"testAnnotationProcessor"("org.projectlombok:lombok:1.18.6")
}
}