-
Notifications
You must be signed in to change notification settings - Fork 8
/
build.gradle.kts
29 lines (26 loc) · 1.08 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
import org.jetbrains.compose.internal.utils.getLocalProperty
import java.net.URI
plugins {
alias(libs.plugins.android.application) apply false
alias(libs.plugins.android.library) apply false
alias(libs.plugins.composeMultiplatform) apply false
alias(libs.plugins.compose.compiler) apply false
alias(libs.plugins.ksp) apply false
alias(libs.plugins.kmp) apply false
alias(libs.plugins.dokka)
alias(libs.plugins.nexusPublish)
}
subprojects {
group = "io.github.kalinjul.easyqrscan"
}
nexusPublishing {
repositories {
sonatype {
nexusUrl.set(URI("https://s01.oss.sonatype.org/service/local/"))
snapshotRepositoryUrl.set(URI("https://s01.oss.sonatype.org/content/repositories/snapshots/"))
username.set(getLocalProperty("OSSRH_USERNAME") ?: System.getenv("OSSRH_USERNAME"))
password.set(getLocalProperty("OSSRH_PASSWORD") ?: System.getenv("OSSRH_PASSWORD"))
stagingProfileId.set(getLocalProperty("SONATYPE_STAGING_PROFILE_ID") ?: System.getenv("SONATYPE_STAGING_PROFILE_ID"))
}
}
}