Fix uninitialized property

This commit is contained in:
Joe
2020-05-11 13:09:42 +01:00
parent a134913c71
commit add76e4949

View File

@@ -60,6 +60,8 @@ public class RemapJarTask extends Jar {
input = GradleSupport.getfileProperty(getProject());
addNestedDependencies = getProject().getObjects().property(Boolean.class);
remapAccessWidener = getProject().getObjects().property(Boolean.class);
// false by default, I have no idea why I have to do it for this property and not the other one
remapAccessWidener.set(false);
}
@TaskAction