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

Expanded resources sometimes are not copied into the eclipse bin/main directory #70

Closed
Shadows-of-Fire opened this issue Dec 9, 2023 · 2 comments · Fixed by #108
Closed
Labels
bug Something isn't working

Comments

@Shadows-of-Fire
Copy link

Temporary workaround is to add

    var resourceTargets = ['META-INF/mods.toml', 'pack.mcmeta']
    var intoTargets = ["$rootDir/bin/main/"]
    intoTargets.each { target ->
        if (file(target).exists()) {
            copy {
                from(sourceSets.main.resources) {
                    include resourceTargets
                    expand replaceProperties
                }
                into target
            }
        }
    }

to processResources, but this isn't the ideal solution.

@CreativeMD
Copy link

I have the same issue, using the MDK template without any changes.

@Matyrobbrt Matyrobbrt added the bug Something isn't working label Jan 5, 2024
@Nightenom
Copy link
Contributor

@Shadows-of-Fire can you please test if #108 fixes your issue

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants