-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle.kts
41 lines (38 loc) · 1.32 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
plugins {
kotlin("multiplatform") apply false
`kotlin-dsl` apply false
alias(libs.plugins.kotlinx.serialization) apply false
alias(libs.plugins.ksp) apply false
alias(libs.plugins.dokka)
alias(libs.plugins.nmcp)
id("maven-publish")
}
val versionVal = libs.versions.kilua.rpc.asProvider().get()
allprojects {
group = "dev.kilua"
if (hasProperty("SNAPSHOT")) {
version = "$versionVal-SNAPSHOT"
} else {
version = versionVal
}
}
nmcp {
publishAggregation {
project(":modules:kilua-rpc-annotations")
project(":modules:kilua-rpc-types")
project(":modules:kilua-rpc-core")
project(":modules:kilua-rpc-javalin")
project(":modules:kilua-rpc-jooby")
project(":modules:kilua-rpc-ktor-guice")
project(":modules:kilua-rpc-ktor-koin")
project(":modules:kilua-rpc-micronaut")
project(":modules:kilua-rpc-spring-boot")
project(":modules:kilua-rpc-vertx")
project(":plugins:kilua-rpc-gradle-plugin")
project(":plugins:kilua-rpc-ksp-processor")
endpoint.set("https://central.sonatype.com/api/v1/publisher/upload")
username = findProperty("mavenCentralUsername")?.toString()
password = findProperty("mavenCentralPassword")?.toString()
publicationType = "USER_MANAGED"
}
}