From 0531135f5fc27213f7b15b127a6e39f4f5c53e90 Mon Sep 17 00:00:00 2001 From: Kyle <48519776+xKylee@users.noreply.github.com> Date: Fri, 3 Jan 2020 13:26:03 +0000 Subject: [PATCH] Update BootstrapTask.kt (#2185) bootstrap fix. injection annotation now uses the GH raw jar instead of trying to go via the maven repo. --- buildSrc/src/main/kotlin/BootstrapTask.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/buildSrc/src/main/kotlin/BootstrapTask.kt b/buildSrc/src/main/kotlin/BootstrapTask.kt index 17d2fc2f3e..75c038ca62 100644 --- a/buildSrc/src/main/kotlin/BootstrapTask.kt +++ b/buildSrc/src/main/kotlin/BootstrapTask.kt @@ -44,7 +44,7 @@ open class BootstrapTask @Inject constructor(@Input val type: String) : DefaultT val version = splat[2] lateinit var path: String - if (it.file.name.contains(ProjectVersions.rlVersion)) { + if (it.file.name.contains(ProjectVersions.rlVersion) || it.file.name.contains("injection-annotations")) { path = "https://github.com/open-osrs/hosting/raw/master/${type}/${it.file.name}" } else if (!group.contains("runelite")) { path = "https://repo.maven.apache.org/maven2/" + group.replace(".", "/") + "/${name}/$version/${name}-$version"