Skip to content

Commit

Permalink
build: make repo property nullable
Browse files Browse the repository at this point in the history
  • Loading branch information
Syrent committed Jun 1, 2024
1 parent 68defcf commit 4da699f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -139,8 +139,8 @@ subprojects {
url = uri("https://repo.sayandev.org/snapshots/")

credentials {
username = System.getenv("REPO_SAYAN_USER") ?: project.findProperty("repo.sayan.user") as String
password = System.getenv("REPO_SAYAN_TOKEN") ?: project.findProperty("repo.sayan.token") as String
username = System.getenv("REPO_SAYAN_USER") ?: project.findProperty("repo.sayan.user") as? String
password = System.getenv("REPO_SAYAN_TOKEN") ?: project.findProperty("repo.sayan.token") as? String
}
}
}
Expand Down Expand Up @@ -188,7 +188,7 @@ hangarPublish {
}

register(Platforms.VELOCITY) {
jar.set(project(":sayanvanish-proxy-velocity").tasks.shadowJar.flatMap { it.archiveFile })
jar.set(project(":sayanvanish-proxy:sayanvanish-proxy-velocity").tasks.shadowJar.flatMap { it.archiveFile })
platformVersions.set((property("velocityVersion") as String).split(",").map { it.trim() })
}

Expand Down

0 comments on commit 4da699f

Please sign in to comment.