neoforged / ModDevGradle

A Gradle plugin for developing Minecraft mods using NeoForge
https://projects.neoforged.net/neoforged/moddevgradle
GNU Lesser General Public License v2.1
30 stars 5 forks source link

Support for Visual Studio Code Launch Configurations #110

Closed Nightenom closed 1 month ago

Nightenom commented 1 month ago

Adds generation of launch.json, rest of compat code uses eclipse codepaths.

Tested via testproject - imports fine, common launches fine, client crashes with java.lang.NoClassDefFoundError: subproject/extensions/BlockPosExtension and mixin error https://gist.github.com/Nightenom/4460bdd78292a036bf9df5eb5457efb7 Did not test MDK, nor processResources hooks (not sure if MDG even has them)

Probably generation should be moved to eclipse sync task (from project.afterEvaluate)

neoforged-pr-publishing[bot] commented 1 month ago

Last commit published: 3600b467a8b249afbc965371ad8bd85f75b09523.

PR Publishing ### The artifacts published by this PR: - :package: [`net.neoforged.moddev.repositories:net.neoforged.moddev.repositories.gradle.plugin:2.0.8-beta-pr-110-vscode`](https://github.com/neoforged/ModDevGradle/packages/2206665) - :package: [`net.neoforged:moddev-gradle:2.0.8-beta-pr-110-vscode`](https://github.com/neoforged/ModDevGradle/packages/2206663) - :package: [`net.neoforged.moddev:net.neoforged.moddev.gradle.plugin:2.0.8-beta-pr-110-vscode`](https://github.com/neoforged/ModDevGradle/packages/2206664) ### Repository Declaration In order to use the artifacts published by the PR, add the following repository to your buildscript: ```gradle repositories { maven { name 'Maven for PR #110' // https://github.com/neoforged/ModDevGradle/pull/110 url 'https://prmaven.neoforged.net/ModDevGradle/pr110' content { includeModule('net.neoforged.moddev.repositories', 'net.neoforged.moddev.repositories.gradle.plugin') includeModule('net.neoforged', 'moddev-gradle') includeModule('net.neoforged.moddev', 'net.neoforged.moddev.gradle.plugin') } } } ```
neoforged-releases[bot] commented 1 month ago

🚀 This PR has been released as ModDevGradle version 2.0.5-beta.