fix missing slash in url
All checks were successful
Publish to snapshot maven / build (push) Successful in 26s
All checks were successful
Publish to snapshot maven / build (push) Successful in 26s
This commit is contained in:
parent
b837ebbe72
commit
41c3cce314
|
@ -7,7 +7,7 @@ plugins {
|
|||
}
|
||||
|
||||
group = "dev.frogmc"
|
||||
version = "0.0.1-alpha.5"
|
||||
version = "0.0.1-alpha.6"
|
||||
|
||||
repositories {
|
||||
mavenCentral()
|
||||
|
|
|
@ -125,11 +125,11 @@ open class MetaV1UpdateTask : DefaultTask() {
|
|||
)
|
||||
|
||||
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 {
|
||||
|
|
Loading…
Reference in a new issue