-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathbuild.gradle.kts
More file actions
34 lines (32 loc) · 1.21 KB
/
build.gradle.kts
File metadata and controls
34 lines (32 loc) · 1.21 KB
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
// Top-level build file where you can add configuration options common to all sub-projects/modules.
plugins {
alias(libs.plugins.androidLibrary) apply false
alias(libs.plugins.kotlinAndroid) apply false
alias(libs.plugins.ktlint) apply true
alias(libs.plugins.kotlinSerialization) apply true
alias(libs.plugins.androidApplication) apply false
alias(libs.plugins.nexusPublish) apply true
alias(libs.plugins.binaryCompatibilityValidation) apply false
alias(libs.plugins.kover) apply true
alias(libs.plugins.composeCompiler) apply false
}
allprojects {
extra["groupId"] = "com.spotify.confidence"
// x-release-please-start-version
ext["version"] = "0.6.4"
// x-release-please-end
}
group = project.extra["groupId"].toString()
version = project.extra["version"].toString()
nexusPublishing {
this.repositories {
sonatype {
nexusUrl.set(uri("https://ossrh-staging-api.central.sonatype.com/service/local/"))
snapshotRepositoryUrl.set(
uri("https://central.sonatype.com/repository/maven-snapshots/")
)
username = System.getenv("CENTRAL_USERNAME")
password = System.getenv("CENTRAL_PASSWORD")
}
}
}