Skip to content

Commit 6caac2a

Browse files
committed
Update buildscript and dependencies
1 parent 27145a6 commit 6caac2a

File tree

3 files changed

+11
-5
lines changed

3 files changed

+11
-5
lines changed

build.gradle

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
//version: 1673027205
1+
//version: 1674409054
22
/*
33
DO NOT CHANGE THIS FILE!
44
Also, you may replace this file at any time if there is an update available.
@@ -144,6 +144,7 @@ propertyDefaultIfUnset("modrinthProjectId", "")
144144
propertyDefaultIfUnset("modrinthRelations", "")
145145
propertyDefaultIfUnset("curseForgeProjectId", "")
146146
propertyDefaultIfUnset("curseForgeRelations", "")
147+
propertyDefaultIfUnset("minimizeShadowedDependencies", true)
147148

148149
String javaSourceDir = "src/main/java/"
149150
String scalaSourceDir = "src/main/scala/"
@@ -411,7 +412,9 @@ shadowJar {
411412
attributes(getManifestAttributes())
412413
}
413414

414-
minimize() // This will only allow shading for actually used classes
415+
if (minimizeShadowedDependencies.toBoolean()) {
416+
minimize() // This will only allow shading for actually used classes
417+
}
415418
configurations = [
416419
project.configurations.shadowImplementation,
417420
project.configurations.shadowCompile
@@ -554,7 +557,9 @@ task shadowDevJar(type: ShadowJar) {
554557
attributes(getManifestAttributes())
555558
}
556559

557-
minimize() // This will only allow shading for actually used classes
560+
if (minimizeShadowedDependencies.toBoolean()) {
561+
minimize() // This will only allow shading for actually used classes
562+
}
558563
configurations = [
559564
project.configurations.shadowImplementation,
560565
project.configurations.shadowCompile

dependencies.gradle

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
// Add your dependencies here
22

33
dependencies {
4-
compile('com.github.GTNewHorizons:NotEnoughItems:2.2.6-GTNH:dev')
4+
implementation('com.github.GTNewHorizons:GTNHLib:0.0.10:dev')
5+
implementation('com.github.GTNewHorizons:NotEnoughItems:2.3.20-GTNH:dev')
56

67
compileOnly('thaumcraft:Thaumcraft:1.7.10-4.2.3.5:dev')
78
}

src/main/java/chylex/hee/HardcoreEnderExpansion.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@
5454
import cpw.mods.fml.common.event.FMLServerStartingEvent;
5555
import cpw.mods.fml.common.network.NetworkRegistry;
5656

57-
@Mod(modid = "HardcoreEnderExpansion", name = "Hardcore Ender Expansion", version = "GRADLETOKEN_VERSION", useMetadata = true, guiFactory = "chylex.hee.gui.core.ModGuiFactory")
57+
@Mod(modid = "HardcoreEnderExpansion", name = "Hardcore Ender Expansion", version = "GRADLETOKEN_VERSION", useMetadata = true, guiFactory = "chylex.hee.gui.core.ModGuiFactory", dependencies = "required-after:gtnhlib@0.0.10")
5858
public class HardcoreEnderExpansion{
5959
@Instance("HardcoreEnderExpansion")
6060
public static HardcoreEnderExpansion instance;

0 commit comments

Comments
 (0)