Skip to content

Commit 1839e04

Browse files
committed
Required dependencies
1 parent 28d82a6 commit 1839e04

2 files changed

Lines changed: 15 additions & 2 deletions

File tree

build.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -119,8 +119,8 @@ configurations {
119119
}
120120

121121
dependencies {
122-
runtimeOnly "curse.maven:the-twilight-forest-227639:6472889"
123-
runtimeOnly "curse.maven:exposure-871755:7165876"
122+
implementation "curse.maven:the-twilight-forest-227639:6472889"
123+
implementation "curse.maven:exposure-871755:7165876"
124124

125125
runtimeOnly "curse.maven:worldedit-225608:5830452"
126126
runtimeOnly "curse.maven:suggestion-provider-fix-469647:5598604"

src/main/templates/META-INF/neoforge.mods.toml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,19 @@ description='''${mod_description}'''
8686
ordering="NONE"
8787
side="BOTH"
8888

89+
[[dependencies.${mod_id}]]
90+
modId="twilightforest"
91+
type="required"
92+
versionRange="[4.7.3196,)"
93+
ordering="NONE"
94+
side="BOTH"
95+
96+
[[dependencies.${mod_id}]]
97+
modId="exposure"
98+
type="required"
99+
ordering="NONE"
100+
side="BOTH"
101+
89102
# Features are specific properties of the game environment, that you may want to declare you require. This example declares
90103
# that your mod requires GL version 3.2 or higher. Other features will be added. They are side aware so declaring this won't
91104
# stop your mod loading on the server for example.

0 commit comments

Comments
 (0)