-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle.kts
68 lines (55 loc) · 1.75 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
description = "This library is an extension to the great jOOλ library"
plugins {
`java-library`
id("net.researchgate.release") version "3.0.2"
id("com.bakdata.sonar") version "1.1.17"
id("com.bakdata.sonatype") version "1.2.1"
id("org.hildan.github.changelog") version "2.2.0"
id("io.freefair.lombok") version "8.4"
}
allprojects {
group = "com.bakdata.${rootProject.name}"
tasks.withType<Test> {
maxParallelForks = 4
}
repositories {
mavenCentral()
}
}
configure<com.bakdata.gradle.SonatypeSettings> {
developers {
developer {
name.set("Philipp Schirmer")
id.set("philipp94831")
}
}
}
configure<org.hildan.github.changelog.plugin.GitHubChangelogExtension> {
githubUser = "bakdata"
futureVersionTag = findProperty("changelog.releaseVersion")?.toString()
sinceTag = findProperty("changelog.sinceTag")?.toString()
}
allprojects {
apply(plugin = "java-library")
configure<JavaPluginExtension> {
toolchain {
languageVersion = JavaLanguageVersion.of(11)
}
}
dependencies {
api(group = "org.jooq", name = "jool", version = "0.9.14")
val junitVersion = "5.9.2"
testRuntimeOnly(group = "org.junit.jupiter", name = "junit-jupiter-engine", version = junitVersion)
testImplementation(group = "org.junit.jupiter", name = "junit-jupiter-api", version = junitVersion)
testImplementation(group = "org.junit.jupiter", name = "junit-jupiter-params", version = junitVersion)
testImplementation(group = "org.assertj", name = "assertj-core", version = "3.24.2")
}
}
tasks.withType<Test> {
useJUnitPlatform()
}
release {
git {
requireBranch.set("master")
}
}