Skip to content

Commit

Permalink
added snapshot support
Browse files Browse the repository at this point in the history
  • Loading branch information
capyrightdev committed Aug 15, 2024
1 parent af57431 commit 432eab2
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,11 @@ publishing {
def mavenUsername = findProperty('mavenUsername')
def mavenPassword = findProperty('mavenPassword')

url = uri("https://m.cpy.wtf/releases")
if(isReleaseVersion) {
url = uri("https://m.cpy.wtf/releases")
} else {
url = uri("https://m.cpy.wtf/snapshots")
}

if (mavenUsername != null && mavenPassword != null) {
credentials {
Expand Down

0 comments on commit 432eab2

Please sign in to comment.