aboutsummaryrefslogtreecommitdiff
path: root/build.gradle
diff options
context:
space:
mode:
authorNicholas Ignoffo <nick@tehnut.info>2019-01-21 17:03:20 -0800
committerNicholas Ignoffo <nick@tehnut.info>2019-01-21 17:03:20 -0800
commit71bb1aa3397841d78693290b36a598eeecb21080 (patch)
tree33303f7ee752a2f399a0289af096b60883829a6b /build.gradle
parentf2f6213150d41bcf51b0c1032bd639f28389d294 (diff)
downloadRoughlyEnoughItems-71bb1aa3397841d78693290b36a598eeecb21080.tar.gz
RoughlyEnoughItems-71bb1aa3397841d78693290b36a598eeecb21080.tar.bz2
RoughlyEnoughItems-71bb1aa3397841d78693290b36a598eeecb21080.zip
Migrate to pluginloader
With this implementation, the loader will only be created on the client to mimic the current implementation. If plugin loader is not installed, the default plugin will still be registered so core functionality is preserved.
Diffstat (limited to 'build.gradle')
-rwxr-xr-xbuild.gradle7
1 files changed, 7 insertions, 0 deletions
diff --git a/build.gradle b/build.gradle
index 125f0b65a..c2736d0ed 100755
--- a/build.gradle
+++ b/build.gradle
@@ -11,6 +11,7 @@ version = "2.1.0.42"
def minecraftVersion = "19w03c"
def yarnVersion = "19w03c.4"
def fabricVersion = "0.1.4.76"
+def pluginLoaderVersion = "1.14-1.0.6-8"
minecraft {
}
@@ -22,6 +23,10 @@ processResources {
inputs.property "version", project.version
}
+repositories {
+ maven { url "https://tehnut.info/maven/" }
+}
+
dependencies {
minecraft "com.mojang:minecraft:${minecraftVersion}"
mappings "net.fabricmc:yarn:${yarnVersion}"
@@ -29,6 +34,8 @@ dependencies {
// Fabric API. This is technically optional, but you probably want it anyway.
modCompile "net.fabricmc:fabric:${fabricVersion}"
+
+ modCompile "info.tehnut.pluginloader:plugin-loader:${pluginLoaderVersion}"
}
// Loom will automatically attach sourcesJar to a RemapSourcesJar task and to the "build" task