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

Fix injection logic for NeoForm classes #156

Merged
merged 1 commit into from
Apr 28, 2024
Merged

Fix injection logic for NeoForm classes #156

merged 1 commit into from
Apr 28, 2024

Conversation

marchermans
Copy link
Contributor

This creates the ability for ZipBuildingFileTreeVisitors to overwrite the target location.
By doing this they can modify the location that a visited directory or file is written to.

This fixes the handling of Parchment which parses injected class files from NeoForm which where previously injected to the wrong directory structure and as such the package statement was wrong.

@neoforged-pr-publishing
Copy link

neoforged-pr-publishing bot commented Apr 28, 2024

  • Publish PR to GitHub Packages

Last commit published: 24c0a7b89d271a80b3e751f37c4174ccc81cdbf2.

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 #156' // https://github.com/neoforged/NeoGradle/pull/156
        url 'https://prmaven.neoforged.net/NeoGradle/pr156'
        content {
            includeModule('net.neoforged.gradle', 'common')
            includeModule('net.neoforged.gradle', 'mixin')
            includeModule('net.neoforged.gradle.common', 'net.neoforged.gradle.common.gradle.plugin')
            includeModule('net.neoforged.gradle', 'dsl-neoform')
            includeModule('net.neoforged.gradle.platform', 'net.neoforged.gradle.platform.gradle.plugin')
            includeModule('net.neoforged.gradle', 'neoform')
            includeModule('net.neoforged.gradle', 'dsl-userdev')
            includeModule('net.neoforged.gradle', 'dsl-platform')
            includeModule('net.neoforged.gradle', 'dsl-vanilla')
            includeModule('net.neoforged.gradle', 'platform')
            includeModule('net.neoforged.gradle', 'dsl-common')
            includeModule('net.neoforged.gradle.mixin', 'net.neoforged.gradle.mixin.gradle.plugin')
            includeModule('net.neoforged.gradle', 'utils')
            includeModule('net.neoforged.gradle', 'vanilla')
            includeModule('net.neoforged.gradle.userdev', 'net.neoforged.gradle.userdev.gradle.plugin')
            includeModule('net.neoforged.gradle', 'dsl-mixin')
            includeModule('net.neoforged.gradle.vanilla', 'net.neoforged.gradle.vanilla.gradle.plugin')
            includeModule('net.neoforged.gradle', 'userdev')
            includeModule('net.neoforged.gradle.neoform', 'net.neoforged.gradle.neoform.gradle.plugin')
        }
    }
}

@shartte shartte merged commit b15b5af into NG_7.0 Apr 28, 2024
26 checks passed
@Technici4n Technici4n deleted the fix/parchment branch April 28, 2024 22:18
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.

None yet

2 participants