Legacy plugin for 1.17 to 1.20.1
Adds a separate net.neoforged.moddev.legacy plugin that lives in a different sourceset and can be used to develop for Minecraft and Forge 1.17 to 1.20.1.
- [x] Publish PR to GitHub Packages
Last commit published: eebbfd7387ab4e6fe1a7995ac2b5b6ae13b59946.
PR Publishing
The artifacts published by this PR:
- :package:
net.neoforged.moddev.legacyforge:net.neoforged.moddev.legacyforge.gradle.plugin:2.0.74-beta-pr-118-legacy - :package:
net.neoforged:moddev-gradle:2.0.74-beta-pr-118-legacy - :package:
net.neoforged.moddev.repositories:net.neoforged.moddev.repositories.gradle.plugin:2.0.74-beta-pr-118-legacy - :package:
net.neoforged.moddev:net.neoforged.moddev.gradle.plugin:2.0.74-beta-pr-118-legacy
Repository Declaration
In order to use the artifacts published by the PR, add the following repository to your buildscript:
repositories {
maven {
name 'Maven for PR #118' // https://github.com/neoforged/ModDevGradle/pull/118
url 'https://prmaven.neoforged.net/ModDevGradle/pr118'
content {
includeModule('net.neoforged.moddev.legacyforge', 'net.neoforged.moddev.legacyforge.gradle.plugin')
includeModule('net.neoforged', 'moddev-gradle')
includeModule('net.neoforged.moddev.repositories', 'net.neoforged.moddev.repositories.gradle.plugin')
includeModule('net.neoforged.moddev', 'net.neoforged.moddev.gradle.plugin')
}
}
}
@shartte, this pull request has conflicts, please resolve them for this PR to move forward.
@shartte, this pull request has conflicts, please resolve them for this PR to move forward.
@shartte, this pull request has conflicts, please resolve them for this PR to move forward.
@shartte, this pull request has conflicts, please resolve them for this PR to move forward.
I have been using this for a while and the only issue I found was with this setup when using a version of GregTech when it was built when they were still using ArchLoom.
https://github.com/pietro-lopes/mdg-legacy-pr118
Clone repo and run each of the 3 available runs: 1 failing, 2 working.
I noticed that their metadata.json lacks the info about if the jarjar is obfuscated or not, but I don't know if that alone is enough.
Edit: Can confirm that editing metadata.json takes no effect.
@pietro-lopes I tried with the official ForgeGradle MDK for 1.20.1 and depending on that version of Gregtech doesn't work there either. (Even after setting mixin.env.refMapRemappingFile, etc.)
🚀 This PR has been released as ModDevGradle version 2.0.50-beta.