-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle.kts
40 lines (34 loc) · 1.04 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
group = "io.github.smyrgeorge"
version = "0.16.0"
// https://mvnrepository.com/artifact/io.grpc/grpc-api
val grpcVersion: String by extra { "1.65.1" }
// https://mvnrepository.com/artifact/com.google.protobuf/protobuf-kotlin
val protobufVersion: String by extra { "4.27.2" }
// https://mvnrepository.com/artifact/io.grpc/grpc-kotlin-stub
val grpcKotlinVersion: String by extra { "1.4.1" }
// Common plugin versions here.
plugins {
alias(libs.plugins.dokka)
alias(libs.plugins.kotlin.jvm) apply false
alias(libs.plugins.kotlin.serialization) apply false
alias(libs.plugins.pubhish) apply false
}
repositories {
mavenCentral()
}
subprojects {
group = rootProject.group
version = rootProject.version
repositories {
mavenCentral()
// IMPORTANT: must be last.
mavenLocal()
}
// Dokka config
run {
// Exclude microbank.
if (!project.name.startsWith("actor4k")) return@run
// Run with ./gradlew :dokkaHtmlMultiModule
apply(plugin = "org.jetbrains.dokka")
}
}