Fix build

This commit is contained in:
2022-01-14 16:20:17 +01:00
parent 67b8be2528
commit ebb8e9a3c5

View File

@@ -50,11 +50,11 @@ extra["PUBLISH_VERSION"] = version
extra["PUBLISH_ARTIFACT_ID"] = name extra["PUBLISH_ARTIFACT_ID"] = name
// Stub secrets to let the project sync and build without the publication values set up // Stub secrets to let the project sync and build without the publication values set up
val signingKeyId: String by project val signingKeyId: String? by project
val signingPassword: String by project val signingPassword: String? by project
val signingSecretKeyRingFile: String by project val signingSecretKeyRingFile: String? by project
val ossrhUsername: String by project val ossrhUsername: String? by project
val ossrhPassword: String by project val ossrhPassword: String? by project
extra["signing.keyId"] = signingKeyId extra["signing.keyId"] = signingKeyId
extra["signing.password"] = signingPassword extra["signing.password"] = signingPassword
@@ -74,8 +74,8 @@ publishing {
// change to point to your repo, e.g. http://my.org/repo // change to point to your repo, e.g. http://my.org/repo
url = uri("https://nexus.astraeus.nl/nexus/content/repositories/releases") url = uri("https://nexus.astraeus.nl/nexus/content/repositories/releases")
credentials { credentials {
val nexusUsername: String by project val nexusUsername: String? by project
val nexusPassword: String by project val nexusPassword: String? by project
username = nexusUsername username = nexusUsername
password = nexusPassword password = nexusPassword
@@ -86,8 +86,8 @@ publishing {
// change to point to your repo, e.g. http://my.org/repo // change to point to your repo, e.g. http://my.org/repo
url = uri("https://nexus.astraeus.nl/nexus/content/repositories/snapshots") url = uri("https://nexus.astraeus.nl/nexus/content/repositories/snapshots")
credentials { credentials {
val nexusUsername: String by project val nexusUsername: String? by project
val nexusPassword: String by project val nexusPassword: String? by project
username = nexusUsername username = nexusUsername
password = nexusPassword password = nexusPassword