Unknown 6 years ago
parent
commit
fbebafad6e
3 changed files with 17 additions and 11 deletions
  1. 5 3
      CHANGELOG.md
  2. 9 5
      build.gradle
  3. 3 3
      gradle.properties

+ 5 - 3
CHANGELOG.md

@@ -1,6 +1,8 @@
-## v2.7.0.82
-- Updated to Fabric 0.4.0
-- Now bundle with Fabric API, Cloth Events API, Cloth Config API
+## v2.7.1.84
+- Bundled with updated APIs. Fixed crash.
+## v2.7.0.83
+- Updated to Fabric Loader 0.4.0
+- Now bundled with Fabric API, Cloth Events API, Cloth Config API
 ## v2.6.2.81
 - Fix [#53](https://github.com/shedaniel/RoughlyEnoughItems/issues/53): Crash on keyPressed
 ## v2.6.2.80

+ 9 - 5
build.gradle

@@ -11,6 +11,8 @@ targetCompatibility = 1.8
 archivesBaseName = "RoughlyEnoughItems"
 version = project.mod_version
 
+def includeDep = true
+
 minecraft {
 }
 
@@ -35,7 +37,7 @@ configurations {
 
 shadowJar {
     version = project.mod_version.replaceAll('\\+build.', '.')
-    classifier = null
+    classifier = includeDep ? null : "bare"
     configurations = [project.configurations.included]
 }
 
@@ -49,11 +51,13 @@ dependencies {
     mappings "net.fabricmc:yarn:${project.yarn_version}"
     modCompile "net.fabricmc:fabric-loader:${project.fabricloader_version}"
     modCompile "net.fabricmc:fabric:${project.fabric_version}"
-    include "net.fabricmc:fabric:${project.fabric_version}"
-    modCompile "cloth:Cloth:${cloth_version}"
-    include "cloth:Cloth:${cloth_version}"
+    modCompile "cloth:ClothEvents:${cloth_events_version}"
     modCompile "cloth-config:ClothConfig:${cloth_config_version}"
-    include "cloth-config:ClothConfig:${cloth_config_version}"
+    if (includeDep) {
+        include "net.fabricmc:fabric:${project.fabric_version}"
+        include "cloth:ClothEvents:${cloth_events_version}"
+        include "cloth-config:ClothConfig:${cloth_config_version}"
+    }
 
     compile "blue.endless:jankson:${project.jankson_version}"
     included "blue.endless:jankson:${project.jankson_version}"

+ 3 - 3
gradle.properties

@@ -1,9 +1,9 @@
-mod_version=2.7.0+build.83
+mod_version=2.7.1+build.84
 minecraft_version=19w14b
 yarn_version=19w14b.1
 fabric_version=0.2.6.121
 fabricloader_version=0.4.0+build.116
 jankson_version=1.1.0
-cloth_version=0.3.0.22
-cloth_config_version=0.1.0.4
+cloth_events_version=0.3.1.23
+cloth_config_version=0.1.1.5
 modmenu_version=1.2.1-45