Skip to content

Commit 5e108b1

Browse files
committed
resource-iterator: io.github.datafabricrus:resource-iterator:1.4-SNAPSHOT
1 parent d35a737 commit 5e108b1

1 file changed

Lines changed: 18 additions & 7 deletions

File tree

build.gradle.kts

Lines changed: 18 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@ plugins {
44
signing
55
}
66

7-
group = "cc.datafabric"
8-
version = "1.3-SNAPSHOT"
7+
group = "io.github.datafabricrus"
8+
version = "1.4-SNAPSHOT"
99

1010
repositories {
1111
mavenCentral()
@@ -83,12 +83,23 @@ publishing {
8383
}
8484
}
8585
}
86+
repositories {
87+
maven {
88+
name = "OSSRH"
89+
url = uri(
90+
if (version.toString().endsWith("SNAPSHOT"))
91+
"https://s01.oss.sonatype.org/content/repositories/snapshots/"
92+
else
93+
"https://s01.oss.sonatype.org/service/local/staging/deploy/maven2/"
94+
)
95+
credentials {
96+
username = findProperty("ossrhUsername") as String? ?: System.getenv("OSSRH_USERNAME")
97+
password = findProperty("ossrhPassword") as String? ?: System.getenv("OSSRH_PASSWORD")
98+
}
99+
}
100+
}
86101
}
87102

88103
signing {
89-
sign(publishing.publications["jvm"])
90-
}
91-
92-
tasks.getByName("signJvmPublication") {
93-
enabled = project.hasProperty("sign")
104+
sign(publishing.publications)
94105
}

0 commit comments

Comments
 (0)