From 9058ecdf344497e4029201f7ceaea88fbd2e41dc Mon Sep 17 00:00:00 2001 From: MattBDev <4009945+MattBDev@users.noreply.github.com> Date: Thu, 7 Jan 2021 21:31:24 -0500 Subject: [PATCH] Slight performance improvement during dependency resolution --- buildSrc/build.gradle.kts | 5 ++++- buildSrc/src/main/kotlin/CommonConfig.kt | 6 +++++- worldedit-bukkit/build.gradle.kts | 9 ++++++++- 3 files changed, 17 insertions(+), 3 deletions(-) diff --git a/buildSrc/build.gradle.kts b/buildSrc/build.gradle.kts index 8fd3e4448..a926d3139 100644 --- a/buildSrc/build.gradle.kts +++ b/buildSrc/build.gradle.kts @@ -2,7 +2,7 @@ import java.util.Properties plugins { `kotlin-dsl` - kotlin("jvm") version "1.4.0" + kotlin("jvm") version embeddedKotlinVersion } repositories { @@ -23,6 +23,9 @@ repositories { maven { name = "EngineHub Repository" url = uri("https://maven.enginehub.org/repo/") + content { + excludeGroup("net.milkbowl.vault") + } } } diff --git a/buildSrc/src/main/kotlin/CommonConfig.kt b/buildSrc/src/main/kotlin/CommonConfig.kt index b19f42623..ca995e5e7 100644 --- a/buildSrc/src/main/kotlin/CommonConfig.kt +++ b/buildSrc/src/main/kotlin/CommonConfig.kt @@ -10,7 +10,11 @@ fun Project.applyCommonConfiguration() { mavenLocal() maven { url = uri("https://mvn.intellectualsites.com/content/groups/public/") } maven { url = uri("https://plotsquared.com/mvn/") } - maven { url = uri("https://maven.enginehub.org/repo/") } + maven { url = uri("https://maven.enginehub.org/repo/") + content { + excludeGroup("net.milkbowl.vault") + } + } maven { url = uri("https://oss.sonatype.org/content/repositories/snapshots/") } maven { url = uri("https://ci.athion.net/plugin/repository/tools/") } maven { url = uri("https://repo.destroystokyo.com/repository/maven-public") } diff --git a/worldedit-bukkit/build.gradle.kts b/worldedit-bukkit/build.gradle.kts index 69a08e31f..9ff5705fe 100644 --- a/worldedit-bukkit/build.gradle.kts +++ b/worldedit-bukkit/build.gradle.kts @@ -11,7 +11,11 @@ repositories { maven { url = uri("https://hub.spigotmc.org/nexus/content/groups/public") } maven { url = uri("https://repo.codemc.org/repository/maven-public") } maven { url = uri("https://papermc.io/repo/repository/maven-public/") } - maven { url = uri("https://maven.enginehub.org/repo/") } + maven { url = uri("https://maven.enginehub.org/repo/") + content { + excludeGroup("net.milkbowl.vault") + } + } maven { url = uri("https://ci.emc.gs/nexus/content/groups/aikar/") } maven { url = uri("https://ci.athion.net/plugin/repository/tools/") } maven { @@ -22,6 +26,9 @@ repositories { maven { name = "ProtocolLib Repo" url = uri("https://repo.dmulloy2.net/nexus/repository/public/") + content { + includeGroup("com.comphenix.protocol") + } } maven { url = uri("https://repo.inventivetalent.org/content/groups/public/") } flatDir {dir(File("src/main/resources"))}