diff --git a/build.gradle b/build.gradle index 51b3c74..3311eec 100644 --- a/build.gradle +++ b/build.gradle @@ -3,22 +3,7 @@ buildscript { jcenter() { allowInsecureProtocol = true } - maven { - url = 'https://hub.spigotmc.org/nexus/content/repositories/snapshots/' - - content { - includeGroup 'org.bukkit' - includeGroup 'org.spigotmc' - } - maven { - url = 'https://hub.spigotmc.org/nexus/content/repositories/snapshots/org/bukkit/bukkit/' - } - maven { - url = 'https://hub.spigotmc.org/nexus/content/repositories/snapshots/org/spigotmc/spigot-api/' - } - } mavenCentral() - mavenLocal() } } @@ -148,22 +133,22 @@ repositories { jcenter() { allowInsecureProtocol = true } - maven { - url = 'https://hub.spigotmc.org/nexus/content/repositories/snapshots/' +// maven { +// url = 'https://hub.spigotmc.org/nexus/content/repositories/snapshots/' - content { - includeGroup 'org.bukkit' - includeGroup 'org.spigotmc' - } - maven { - url = 'https://hub.spigotmc.org/nexus/content/repositories/snapshots/org/bukkit/bukkit/' - } - maven { - url = 'https://hub.spigotmc.org/nexus/content/repositories/snapshots/org/spigotmc/spigot-api/' - } - } +// content { +// includeGroup 'org.bukkit' +// includeGroup 'org.spigotmc' +// } +// maven { +// url = 'https://hub.spigotmc.org/nexus/content/repositories/snapshots/org/bukkit/bukkit/' +// } +// maven { +// url = 'https://hub.spigotmc.org/nexus/content/repositories/snapshots/org/spigotmc/spigot-api/' +// } +// } mavenCentral() - mavenLocal() + // mavenLocal() spigot() // bungeecord() @@ -171,10 +156,10 @@ repositories { // protocolLib() // enginehub() maven { - url = 'https://oss.sonatype.org/content/repositories/snapshots' + url = 'https://oss.sonatype.org/content/repositories/snapshots/' } maven { - url = 'https://oss.sonatype.org/content/repositories/central' + url = 'https://s01.oss.sonatype.org/content/repositories/snapshots/' } maven { url 'https://hub.spigotmc.org/nexus/content/repositories/public/' @@ -215,6 +200,15 @@ repositories { mavenLocal() } +//nexusPublishing { +// repositories { +// sonatype { +// nexusUrl.set(URI.create("https://s01.oss.sonatype.org/service/local/")) +// snapshotRepositoryUrl.set(URI.create("https://s01.oss.sonatype.org/content/repositories/snapshots/")) +// } +// } +//} + dependencies { constraints { implementation("org.yaml:snakeyaml") {