|
@@ -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"
|
|
|
}
|