Restore method

This commit is contained in:
Dan Fox 2018-10-08 12:06:49 +01:00
parent a5f4803777
commit c2db9f6076
2 changed files with 6 additions and 1 deletions

View file

@ -140,6 +140,11 @@ public class NativeImageTask extends DefaultTask {
mainClass.set(provider);
}
@Input
public final Provider<String> getOutputName() {
return outputName;
}
@Input
public final Provider<String> getGraalVersion() {
return graalVersion;

View file

@ -52,7 +52,7 @@ public class ReflectionConfigTask extends DefaultTask {
public final void generateFile() throws IOException {
List<Map<String, Object>> json = classes.get().stream()
.map(clazz -> {
LinkedHashMap<String, Object> map = new LinkedHashMap<>();
Map<String, Object> map = new LinkedHashMap<>();
map.put("name", clazz);
map.put("allDeclaredConstructors", true);
map.put("allPublicConstructors", true);