Restore method
This commit is contained in:
parent
a5f4803777
commit
c2db9f6076
2 changed files with 6 additions and 1 deletions
|
@ -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;
|
||||
|
|
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue