-
Notifications
You must be signed in to change notification settings - Fork 14
/
build.gradle.kts
24 lines (22 loc) · 1.01 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
import org.jetbrains.compose.internal.utils.getLocalProperty
plugins {
alias(libs.plugins.multiplatform).apply(false)
alias(libs.plugins.compose).apply(false)
alias(libs.plugins.android.application).apply(false)
id("com.android.library") version "8.2.0" apply false
id("org.jetbrains.dokka").version("1.9.10").apply(false)
id("io.github.gradle-nexus.publish-plugin").version("2.0.0-rc-1")
}
nexusPublishing {
repositories {
sonatype {
stagingProfileId.set(
getLocalProperty("sonatype.stagingProfileId") ?: System.getenv("SONATYPE_STAGING_PROFILE_ID")
)
username.set(getLocalProperty("sonatype.username") ?: System.getenv("OSSRH_USERNAME"))
password.set(getLocalProperty("sonatype.password") ?: System.getenv("OSSRH_PASSWORD"))
nexusUrl.set(uri("https://s01.oss.sonatype.org/service/local/"))
snapshotRepositoryUrl.set(uri("https://s01.oss.sonatype.org/content/repositories/snapshots/"))
}
}
}