Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Provide a MDK version using ModDevGradle #73

Merged
merged 10 commits into from
Jun 20, 2024

Conversation

ApexModder
Copy link

@ApexModder ApexModder commented Jun 13, 2024

This pull request updates the MDK to utilize ModDevGradle (MDG), which is currently in a Work-In-Progress (WIP) state. The purpose of this PR is to showcase the migration process from a NeoGradle-based project to one that incorporates MDG.

build.gradle Outdated
systemProperty 'forge.enabledGameTestNamespaces', project.mod_id
programArgument '--nogui'
}
// accessTransformers.add(rootProject.file('src/main/resources/META-INF/accesstransformer.cfg'))
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You need a string here, not a file. At least with moddev 0.1.94, didn't test the version here (0.1.74).

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, now with Gradle 8.8 released, we can actually make this just a normal file collection.
Previously it was impossible to set defaults for file collections (and we wanted the default location to work without config)

@Matyrobbrt Matyrobbrt marked this pull request as ready for review June 20, 2024 20:17
@Matyrobbrt Matyrobbrt changed the title [Draft] Migrate to ModDevGradle Provide a MDK version using ModDevGradle Jun 20, 2024
@Matyrobbrt Matyrobbrt changed the base branch from main to main-mdg June 20, 2024 20:22
@Matyrobbrt Matyrobbrt merged commit cde9fdf into neoforged:main-mdg Jun 20, 2024
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants