Skip to content

Conversation

@shartte
Copy link
Collaborator

@shartte shartte commented Dec 2, 2024

Fixes this error on 1.18.2:

Caused by: java.lang.IllegalAccessException: class net.neoforged.devlaunch.Main cannot access class cpw.mods.bootstraplauncher.BootstrapLauncher (in module cpw.mods.bootstraplauncher) because module cpw.mods.bootstraplauncher does not export cpw.mods.bootstraplauncher to unnamed module @255316f2

@neoforged-pr-publishing
Copy link

neoforged-pr-publishing bot commented Dec 2, 2024

  • Publish PR to GitHub Packages

Last commit published: 7f679cc130fe28209c47404b4e50f25781489409.

PR Publishing

The artifacts published by this PR:

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 #190' // https://github.com/neoforged/ModDevGradle/pull/190
        url 'https://prmaven.neoforged.net/ModDevGradle/pr190'
        content {
            includeModule('net.neoforged.moddev', 'net.neoforged.moddev.gradle.plugin')
            includeModule('net.neoforged.moddev.repositories', 'net.neoforged.moddev.repositories.gradle.plugin')
            includeModule('net.neoforged.moddev.legacyforge', 'net.neoforged.moddev.legacyforge.gradle.plugin')
            includeModule('net.neoforged', 'moddev-gradle')
        }
    }
}

@Technici4n Technici4n merged commit 9996c85 into main Dec 2, 2024
7 checks passed
@Technici4n Technici4n deleted the fix-devlaunch-on-legacy branch December 2, 2024 08:40
@neoforged-releases
Copy link

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

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.

2 participants