-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle.kts
50 lines (41 loc) · 1.22 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
import buildsrc.ext.excludeGeneratedGradleDsl
import buildsrc.ext.initIdeProjectLogo
plugins {
buildsrc.convention.`kotlin-jvm`
buildsrc.convention.`maven-publish`
me.qoomon.`git-versioning`
`project-report`
// `build-dashboard` // incompatible with Gradle CC
idea
}
group = "dev.adamko.kotka"
version = "0.0.0-SNAPSHOT"
gitVersioning.apply {
refs {
branch(".+") { version = "\${ref}-SNAPSHOT" }
tag("v(?<version>.*)") { version = "\${ref.version}" }
}
// optional fallback configuration in case of no matching ref configuration
rev { version = "\${commit}" }
}
dependencies {
implementation(platform(projects.modules.versionsPlatform))
api(projects.modules.kotkaStreamsExtensions)
api(projects.modules.kotkaStreamsFramework)
api(projects.modules.kotkaStreamsKotlinxSerialization)
}
kotkaPublishing {
mavenPomSubprojectName.set("Kotlin for Kafka Streams")
mavenPomDescription.set("Using Kotka means a more pleasant experience while using Kafka Streams")
}
idea {
module {
isDownloadSources = true
excludeGeneratedGradleDsl(layout)
excludeDirs = excludeDirs + layout.files(
".idea",
"gradle/wrapper",
)
}
}
initIdeProjectLogo("site/src/jsMain/resources/ks-logo.svg")