package: upgrade http connections to rrn to https

This commit is contained in:
Max Weber committed 2022-02-09 05:39:03 -07:00
1 parent 021e8a4dcb
commit e27a887ed0
1 file changed
+12
+12
View File
@@ -25,6 +25,18 @@
allprojects {
apply plugin: "java"
repositories {
mavenLocal()
// Upgrade older plugins to use https for rrn
whenObjectAdded {
if (it instanceof MavenArtifactRepository && it.url?.scheme == "http" && it.url?.host == "repo.runelite.net") {
it.url = new URL("https", it.url.host, it.url.path)
print("Deprecated: accessing repo.runelite.net without tls")
}
}
}
compileJava {
options.release.set(8)
options.compilerArgs.add("-Xplugin:RuneLiteAPIRecorder")