Skip to content

Commit b3d01f1

Browse files
committed
hardcode repository in publishing
1 parent 40425d2 commit b3d01f1

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

build.gradle.kts

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ plugins {
88
apply("versions.gradle.kts")
99

1010
group = "io.github.microutils"
11-
version = "2.0.0" + (if (System.getProperty("snapshot")?.toBoolean() == true) "-SNAPSHOT" else "")
11+
version = "2.0.1" + (if (System.getProperty("snapshot")?.toBoolean() == true) "-SNAPSHOT" else "")
1212

1313
repositories {
1414
jcenter()
@@ -125,12 +125,12 @@ publishing {
125125
}
126126

127127
publishing {
128-
val bintrayOrg: String? by project
129-
val bintrayRepo: String? by project
130-
val bintrayUser: String? by project
131-
val bintrayApiKey: String? by project
128+
val bintrayOrg = "microutils"
129+
val bintrayRepo = "kotlin-logging"
130+
val bintrayUser = System.getProperty("bintray.user")
131+
val bintrayApiKey = System.getProperty("bintray.key")
132132

133-
if (bintrayRepo != null && bintrayUser != null && bintrayApiKey != null) {
133+
if (bintrayUser != null && bintrayApiKey != null) {
134134
repositories {
135135
maven {
136136
name = "bintray"

0 commit comments

Comments
 (0)