bootstrap: Download rxrelay from the OpenOSRS hosting repo

This commit is contained in:
Owain van Brakel
2020-03-11 12:36:35 +01:00
parent 69e9ea03d0
commit 6fa6ab4c8e

View File

@@ -46,8 +46,8 @@ open class BootstrapTask @Inject constructor(@Input val type: String) : DefaultT
if (it.file.name.contains(ProjectVersions.openosrsVersion)) {
path = "https://github.com/open-osrs/hosting/raw/master/${type}/${it.file.name}"
} else if (it.file.name.contains("injection-annotations")) {
path = "https://github.com/open-osrs/hosting/raw/master/" + group.replace(".", "/") + "/${name}/$version/${it.file.name}"
} else if (it.file.name.contains("injection-annotations") || it.file.name.contains("rxrelay")) {
path = "https://github.com/open-osrs/hosting/raw/master/" + group.replace(".", "/") + "/${name}/$version/${it.file.name}"
} else if (!group.contains("runelite")) {
path = "https://repo.maven.apache.org/maven2/" + group.replace(".", "/") + "/${name}/$version/${name}-$version"
if (it.classifier != null && it.classifier != "no_aop") {