Skip to content

Commit

Permalink
Readd project.gradle
Browse files Browse the repository at this point in the history
  • Loading branch information
makamys committed Dec 30, 2021
1 parent e34036c commit d6e1881
Showing 1 changed file with 28 additions and 1 deletion.
29 changes: 28 additions & 1 deletion project.gradle
Original file line number Diff line number Diff line change
@@ -1 +1,28 @@
// Put your project-specific buildscript code in this file
repositories {
maven {
name = 'sponge'
url = 'https://repo.spongepowered.org/maven/'
}
}

// There is no need to embed Mixin ourselves since this mod will only do anything if other Mixin mods are present.
dependencies {
compile 'org.spongepowered:mixin:0.7+'
}

jar {
manifest {
attributes (
'MixinConfigs': "${project.modid}.mixin.json",
'TweakClass': 'org.spongepowered.asm.launch.MixinTweaker',
'TweakOrder': 0,

// If these two are not set, Forge will not detect the mod, it will only run the mixins
'FMLCorePluginContainsFMLMod': 'true',
'ForceLoadAsMod': 'true',
)
}
}


apply from: "makalibs.gradle"

0 comments on commit d6e1881

Please sign in to comment.