Skip to content

Commit 492cd29

Browse files
committed
Fix publishing
1 parent 89b1d3f commit 492cd29

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

impl/build.gradle.kts

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,4 +48,16 @@ publishing {
4848
from(components["java"])
4949
}
5050
}
51+
52+
repositories {
53+
val env = System.getenv()
54+
if (env.contains("MAVEN_UPLOAD_URL")) {
55+
maven(uri(env["MAVEN_UPLOAD_URL"]!!)) {
56+
credentials {
57+
username = env["MAVEN_UPLOAD_NAME"]
58+
password = env["MAVEN_UPLOAD_PASSWORD"]
59+
}
60+
}
61+
}
62+
}
5163
}

0 commit comments

Comments
 (0)