Skip to content

Commit b2f2d6e

Browse files
committed
Updated immerse dependancy issue.
1 parent a0b3ba6 commit b2f2d6e

4 files changed

Lines changed: 24 additions & 0 deletions

File tree

crafting-dead-survival/build.gradle

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,9 @@ minecraft {
7373
dependencies {
7474
implementation project(':crafting-dead-core')
7575

76+
// Optional immerse dependency - compile against it but don't require at runtime
77+
compileOnly files('libs/craftingdeadimmerse.jar')
78+
7679
minecraftLibrary group: 'net.rocketpowered', name: 'rocket-sdk', version: '0.0.10'
7780
minecraftLibrary group: 'net.rocketpowered', name: 'rocket-common', version: '0.0.7'
7881
}
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
# Immerse Dependency
2+
3+
Place the `craftingdeadimmerse.jar` file in this directory to enable compilation.
4+
5+
This is a compile-only dependency - the code will compile against it but won't require it at runtime.
6+
7+
If you don't have the immerse JAR available, you can download it from your modpack or build it separately.
8+
9+
**Note:** The survival module will compile and run without this JAR, but some features related to hydration will not be available.

crafting-dead-worldguard/build.gradle

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,9 @@ repositories {
1818
dependencies {
1919
implementation project(':crafting-dead-core')
2020
implementation project(':crafting-dead-survival')
21+
22+
// Optional immerse dependency - compile against it but don't require at runtime
23+
compileOnly files('libs/craftingdeadimmerse.jar')
2124

2225
implementation group: 'org.spigotmc', name: 'spigot-api', version: '1.18.2-R0.1-SNAPSHOT'
2326
implementation group: 'com.sk89q.worldguard', name: 'worldguard-bukkit', version: '7.0.7'
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
# Immerse Dependency
2+
3+
Place the `craftingdeadimmerse.jar` file in this directory to enable compilation.
4+
5+
This is a compile-only dependency - the code will compile against it but won't require it at runtime.
6+
7+
If you don't have the immerse JAR available, you can download it from your modpack or build it separately.
8+
9+
**Note:** The worldguard module will compile and run without this JAR.

0 commit comments

Comments
 (0)