mirror of
https://github.com/runelite/plugin-hub.git
synced 2026-05-07 23:34:03 -04:00
package: upgrade http connections to rrn to https
This commit is contained in:
@@ -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")
|
||||
|
||||
Reference in New Issue
Block a user