Fix uninitialized property

dev/0.11
Joe 2020-05-11 13:09:42 +01:00
parent a134913c71
commit add76e4949
No known key found for this signature in database
GPG Key ID: 1CFA16855A08AEAB
1 changed files with 2 additions and 0 deletions

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