Allow other source sets to be remapped without needing an access widener

This commit is contained in:
Joe
2020-05-11 12:48:04 +01:00
parent 26755cb82c
commit a134913c71
3 changed files with 13 additions and 1 deletions

View File

@@ -295,6 +295,7 @@ public class AbstractPlugin implements Plugin<Project> {
extension.addUnmappedMod(jarTask.getArchivePath().toPath());
remapJarTask.getAddNestedDependencies().set(true);
remapJarTask.getRemapAccessWidener().set(true);
project1.getArtifacts().add("archives", remapJarTask);
remapJarTask.dependsOn(jarTask);