From 2cc547cfef149876bba21627496c426e73433921 Mon Sep 17 00:00:00 2001 From: kb1000 Date: Mon, 22 Feb 2021 09:30:45 +0100 Subject: [PATCH] Change DCS dependency to use JitPack --- .gitmodules | 3 --- Studio-Jar | 1 - build.gradle | 10 ++++++++-- settings.gradle | 3 --- 4 files changed, 8 insertions(+), 9 deletions(-) delete mode 100644 .gitmodules delete mode 160000 Studio-Jar diff --git a/.gitmodules b/.gitmodules deleted file mode 100644 index 336c35c49..000000000 --- a/.gitmodules +++ /dev/null @@ -1,3 +0,0 @@ -[submodule "Studio-Jar"] - path = Studio-Jar - url = https://github.com/Dumb-Code/Studio-Jar diff --git a/Studio-Jar b/Studio-Jar deleted file mode 160000 index 4bf095900..000000000 --- a/Studio-Jar +++ /dev/null @@ -1 +0,0 @@ -Subproject commit 4bf0959007bdb931a3f1e5a00d7087463343115b diff --git a/build.gradle b/build.gradle index 0e5da2c46..c98dbf984 100644 --- a/build.gradle +++ b/build.gradle @@ -16,6 +16,12 @@ repositories { name = "TerraformersMC" url = "https://maven.terraformersmc.com/releases" } + + // FIXME: remove + maven { + name = "JitPack" + url = "https://jitpack.io" + } } dependencies { @@ -84,8 +90,8 @@ dependencies { modImplementation("com.terraformersmc:modmenu:${project.modmenu_version}") // DC Studio API - modImplementation(project(":Studio-Jar")) - include(project(":Studio-Jar")) + modImplementation("com.github.Dumb-Code:Studio-Jar:4bf0959007bdb931a3f1e5a00d7087463343115b") + include("com.github.Dumb-Code:Studio-Jar:4bf0959007bdb931a3f1e5a00d7087463343115b") } processResources { diff --git a/settings.gradle b/settings.gradle index c71affedd..5b60df3d2 100644 --- a/settings.gradle +++ b/settings.gradle @@ -8,6 +8,3 @@ pluginManagement { gradlePluginPortal() } } - -include 'Studio-Jar' -project(':Studio-Jar').projectDir = file('Studio-Jar')