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)
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')
}
}
}
```
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)