Skip to content

Commit

Permalink
specify default url
Browse files Browse the repository at this point in the history
  • Loading branch information
acrylic-style committed Feb 9, 2024
1 parent 097c292 commit 4cc82fa
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -91,9 +91,9 @@ publishing {
credentials(PasswordCredentials::class)
url = uri(
if (project.version.toString().endsWith("SNAPSHOT"))
project.findProperty("deploySnapshotURL") ?: System.getProperty("deploySnapshotURL", "")
project.findProperty("deploySnapshotURL") ?: System.getProperty("deploySnapshotURL", "https://repo.azisaba.net/repository/maven-snapshots/")
else
project.findProperty("deployReleasesURL") ?: System.getProperty("deployReleasesURL", "")
project.findProperty("deployReleasesURL") ?: System.getProperty("deployReleasesURL", "https://repo.azisaba.net/repository/maven-releases/")
)
}
}
Expand Down

0 comments on commit 4cc82fa

Please sign in to comment.