-
Notifications
You must be signed in to change notification settings - Fork 4
/
build.gradle.kts
28 lines (27 loc) · 1 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
// Top-level build file where you can add configuration options common to all sub-projects/modules.
plugins {
id("com.android.library").version("7.4.2").apply(false)
id("org.jetbrains.kotlin.android").version("1.8.10").apply(false)
id("org.jlleitschuh.gradle.ktlint").version("11.6.1").apply(true)
id("io.github.gradle-nexus.publish-plugin").version("1.3.0").apply(true)
}
allprojects {
extra["groupId"] = "dev.openfeature"
// x-release-please-start-version
ext["version"] = "0.3.0"
// x-release-please-end
}
group = project.extra["groupId"].toString()
version = project.extra["version"].toString()
nexusPublishing {
this.repositories {
sonatype {
nexusUrl.set(uri("https://s01.oss.sonatype.org/service/local/"))
snapshotRepositoryUrl.set(
uri("https://s01.oss.sonatype.org/content/repositories/snapshots/")
)
username = System.getenv("OSSRH_USERNAME")
password = System.getenv("OSSRH_PASSWORD")
}
}
}