aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUnknown <shekwancheung0528@gmail.com>2019-05-22 21:52:29 +0800
committerUnknown <shekwancheung0528@gmail.com>2019-05-22 21:52:29 +0800
commitce5de71c38700d5f6cf4270e43760a2e2e95a5e3 (patch)
tree66bf18f816edea410ad3c3fd71c4c6164b62b9bc
parent4ea8402014b3878bc94ae977cdace1ab7c497e5f (diff)
downloadRoughlyEnoughItems-ce5de71c38700d5f6cf4270e43760a2e2e95a5e3.tar.gz
RoughlyEnoughItems-ce5de71c38700d5f6cf4270e43760a2e2e95a5e3.tar.bz2
RoughlyEnoughItems-ce5de71c38700d5f6cf4270e43760a2e2e95a5e3.zip
Include Jankson
-rwxr-xr-xbuild.gradle24
1 files changed, 2 insertions, 22 deletions
diff --git a/build.gradle b/build.gradle
index f47805a4b..0541e60de 100755
--- a/build.gradle
+++ b/build.gradle
@@ -2,7 +2,6 @@ import net.fabricmc.loom.task.RemapJar
plugins {
id 'fabric-loom' version '0.2.2-SNAPSHOT'
- id "com.github.johnrengelman.shadow" version "4.0.3"
id 'maven-publish'
}
@@ -33,23 +32,6 @@ processResources {
inputs.property "version", project.version
}
-configurations {
- included {
- transitive = false
- }
-}
-
-shadowJar {
- version = project.mod_version
- classifier = includeDep ? null : "bare"
- configurations = [project.configurations.included]
-}
-
-task remapShadowJar(type: RemapJar) {
- jar = shadowJar.archivePath
-}
-tasks.remapShadowJar.dependsOn tasks.shadowJar
-
dependencies {
minecraft "com.mojang:minecraft:${project.minecraft_version}"
mappings "net.fabricmc:yarn:${project.yarn_version}"
@@ -61,6 +43,7 @@ dependencies {
modCompile "net.fabricmc.fabric-api:fabric-resource-loader-v0:${project.fabric_resource_loader}"
modCompile "cloth:ClothEvents:${cloth_events_version}"
modCompile "cloth-config:ClothConfig:${cloth_config_version}"
+ modCompile "blue.endless:jankson:${project.jankson_version}"
if (includeDep) {
include "net.fabricmc.fabric-api:fabric-keybindings-v0:${project.fabric_keybindings}"
include "net.fabricmc.fabric-api:fabric-api-base:${project.fabric_api_base}"
@@ -69,11 +52,8 @@ dependencies {
include "net.fabricmc.fabric-api:fabric-resource-loader-v0:${project.fabric_resource_loader}"
include "cloth:ClothEvents:${cloth_events_version}"
include "cloth-config:ClothConfig:${cloth_config_version}"
+ include "blue.endless:jankson:${project.jankson_version}"
}
-
- modCompile "blue.endless:jankson:${project.jankson_version}"
- included "blue.endless:jankson:${project.jankson_version}"
-
modCompile "io.github.prospector.modmenu:ModMenu:${modmenu_version}"
compile "org.lwjgl:lwjgl-jemalloc:3.2.1"
}