diff options
author | makamys <makamys@outlook.com> | 2022-12-24 18:41:56 +0100 |
---|---|---|
committer | makamys <makamys@outlook.com> | 2022-12-24 18:41:56 +0100 |
commit | 4e95bc8ad7640ad881c222b95fec55cf03a0dfbc (patch) | |
tree | da223187eb65481ac62fb2801a9ad33c71f05673 /buildscript/forge-1.7-mixin.gradle | |
parent | a7294e0628800cee4a56e2b90d3f27d8f4039a22 (diff) | |
download | Neodymium-4e95bc8ad7640ad881c222b95fec55cf03a0dfbc.tar.gz Neodymium-4e95bc8ad7640ad881c222b95fec55cf03a0dfbc.tar.bz2 Neodymium-4e95bc8ad7640ad881c222b95fec55cf03a0dfbc.zip |
Update BS
Diffstat (limited to 'buildscript/forge-1.7-mixin.gradle')
-rw-r--r-- | buildscript/forge-1.7-mixin.gradle | 18 |
1 files changed, 15 insertions, 3 deletions
diff --git a/buildscript/forge-1.7-mixin.gradle b/buildscript/forge-1.7-mixin.gradle index fddc15b..9612084 100644 --- a/buildscript/forge-1.7-mixin.gradle +++ b/buildscript/forge-1.7-mixin.gradle @@ -7,9 +7,21 @@ repositories { } } +def embedMixin = !project.hasProperty("nomixin"); + +if(!embedMixin){ + project.version += "+nomixin" +} + dependencies { - embed('org.spongepowered:mixin:0.7.11-SNAPSHOT'){ - setTransitive false + if(embedMixin){ + embed('org.spongepowered:mixin:0.7.11-SNAPSHOT'){ + setTransitive false + } + } else { + compile('org.spongepowered:mixin:0.7.11-SNAPSHOT'){ + setTransitive false + } } } @@ -39,4 +51,4 @@ afterEvaluate { reobf { addExtraSrgFile outSrgFile -}
\ No newline at end of file +} |