File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -29,13 +29,12 @@ configurations {
2929}
3030
3131dependencies {
32- def autoImplementation = { dep -> unobfuscated ? implementation(dep ) : modImplementation(dep ) }
33- def autoRuntimeOnly = { dep -> unobfuscated ? runtimeOnly(dep ) : modRuntimeOnly(dep ) }
34- def autoCompileOnly = { dep -> unobfuscated ? compileOnly(dep ) : modCompileOnly(dep ) }
32+ def autoImplementation = { Object ... args -> unobfuscated ? implementation(* args ) : modImplementation(* args ) }
33+ def autoRuntimeOnly = { Object ... args -> unobfuscated ? runtimeOnly(* args ) : modRuntimeOnly(* args ) }
34+ def autoCompileOnly = { Object ... args -> unobfuscated ? compileOnly(* args ) : modCompileOnly(* args ) }
3535
3636 // loom
3737 minecraft " com.mojang:minecraft:${ project.minecraft_version} "
38- autoImplementation " net.fabricmc:fabric-loader:${ project.loader_version} "
3938 if (! unobfuscated) {
4039 mappings loom. layered() {
4140 officialMojangMappings()
@@ -44,6 +43,7 @@ dependencies {
4443 }
4544 }
4645 }
46+ autoImplementation " net.fabricmc:fabric-loader:${ project.loader_version} "
4747
4848 // runtime mods
4949// if (mcVersion < 11904) {
You can’t perform that action at this time.
0 commit comments