-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle.kts
58 lines (49 loc) · 1.7 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
plugins {
id("com.bakdata.release") version "1.4.0"
id("com.bakdata.sonar") version "1.4.0"
id("com.bakdata.sonatype") version "1.4.1"
id("io.freefair.lombok") version "8.4"
}
allprojects {
group = "com.bakdata.kafka"
tasks.withType<Test> {
maxParallelForks = 4
useJUnitPlatform()
}
repositories {
mavenCentral()
maven(url = "https://packages.confluent.io/maven/")
}
}
configure<com.bakdata.gradle.SonatypeSettings> {
developers {
developer {
name.set("Salomon Popp")
id.set("disrupted")
}
developer {
name.set("Philipp Schirmer")
id.set("philipp94831")
}
}
}
subprojects {
apply(plugin = "java-library")
apply(plugin = "io.freefair.lombok")
configure<JavaPluginExtension> {
toolchain {
languageVersion = JavaLanguageVersion.of(11)
}
}
dependencies {
val slf4jVersion: String by project
"implementation"(group = "org.slf4j", name = "slf4j-api", version = slf4jVersion)
val junitVersion: String by project
"testImplementation"(group = "org.junit.jupiter", name = "junit-jupiter-api", version = junitVersion)
"testImplementation"(group = "org.junit.jupiter", name = "junit-jupiter-params", version = junitVersion)
"testRuntimeOnly"(group = "org.junit.jupiter", name = "junit-jupiter-engine", version = junitVersion)
"testImplementation"(group = "org.assertj", name = "assertj-core", version = "3.27.2")
val log4jVersion: String by project
"testImplementation"(group = "org.apache.logging.log4j", name = "log4j-slf4j2-impl", version = log4jVersion)
}
}