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

Automatic mods toml generation + dependencies #2

Open
wants to merge 9 commits into
base: main
Choose a base branch
from

Conversation

Thodor12
Copy link
Collaborator

  • Create a dependency block called modDependencies which contains 2 configurations: required and optional for adding required and optional mods as dependencies.
  • Features a task that can automatically generate a neoforge.mods.toml based on a new set of fields that must be provided in the mod block.
  • This task also utilizes the above modDependencies block to automatically write all the mod dependencies, including Minecraft and Neoforge, to the neoforge.mods.toml.

# Conflicts:
#	modules/curseforge/src/main/java/com/ldtteam/tableau/curseforge/extensions/CurseForgeExtension.java
# Conflicts:
#	modules/common/src/main/java/com/ldtteam/tableau/common/extensions/ModExtension.java
#	modules/curseforge/src/main/java/com/ldtteam/tableau/curseforge/extensions/CurseForgeExtension.java
#	modules/maven-publishing/src/main/java/com/ldtteam/tableau/maven/publishing/MavenPublishingExtension.java
#	modules/neogradle/src/main/java/com/ldtteam/tableau/extensions/NeoGradleExtension.java
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.

1 participant