fix missing slash in url
All checks were successful
Publish to snapshot maven / build (push) Successful in 26s

This commit is contained in:
moehreag 2024-06-17 18:45:38 +02:00
parent b837ebbe72
commit 41c3cce314
2 changed files with 3 additions and 3 deletions

View file

@ -7,7 +7,7 @@ plugins {
} }
group = "dev.frogmc" group = "dev.frogmc"
version = "0.0.1-alpha.5" version = "0.0.1-alpha.6"
repositories { repositories {
mavenCentral() mavenCentral()

View file

@ -125,11 +125,11 @@ open class MetaV1UpdateTask : DefaultTask() {
) )
if (response.statusCode() == 200) { if (response.statusCode() == 200) {
return MAVEN_URL_RELEASES+url return MAVEN_URL_RELEASES+(if (MAVEN_URL_RELEASES.endsWith("/")) "" else "/")+url
} }
} }
return MAVEN_URL_SNAPSHOTS+url return MAVEN_URL_SNAPSHOTS+(if (MAVEN_URL_SNAPSHOTS.endsWith("/")) "" else "/")+url
} }
companion object { companion object {