You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Gradle 7+ detects overlapping files when creating Jars. This causes errors in some builds.
What you did
Run gradle :spoofax3.lwb.root:statix.cli:executableJar (with gradle 7.6.2) on a clean repository
What you expected to happen
Build succeeding
What actually happened
Error:
Execution failed for task ':spoofax3.lwb.root:statix.cli:executableJar'.
> Entry mb/statix/package-info.class is a duplicate but no duplicate handling strategy has been set. Please refer to https://docs.gradle.org/7.6.2/dsl/org.gradle.api.tasks.Copy.html#org.gradle.api.tasks.Copy:duplicatesStrategy for details.
Context
Spoofax version: 0.19.5 - develop
Operating system & version: MacOS 13
Java version (if applicable): 11
Gradle version (if applicable): 7.6.2
Additional information
Reporting this because it may hinder upgrading to more recent gradle versions. Also occurs in metaborg/pie examples.
The text was updated successfully, but these errors were encountered:
Summary
Gradle 7+ detects overlapping files when creating Jars. This causes errors in some builds.
What you did
Run
gradle :spoofax3.lwb.root:statix.cli:executableJar
(with gradle 7.6.2) on a clean repositoryWhat you expected to happen
Build succeeding
What actually happened
Error:
Context
Additional information
Reporting this because it may hinder upgrading to more recent gradle versions. Also occurs in
metaborg/pie
examples.The text was updated successfully, but these errors were encountered: