Skip to content

Commit

Permalink
update native-image config
Browse files Browse the repository at this point in the history
  • Loading branch information
esaulpaugh committed Feb 1, 2025
1 parent eaf4da6 commit 3b9931e
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 0 deletions.
1 change: 1 addition & 0 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ final String junitVersion = '5.10.3'
final DateTimeFormatter dateFormatter = DateTimeFormatter.ofPattern("MMMM d yyyy", Locale.ENGLISH).withZone(ZoneId.of("UTC"))

task fatJar(type: Jar) {
duplicatesStrategy = DuplicatesStrategy.EXCLUDE
manifest {
attributes 'Main-Class': 'com.esaulpaugh.headlong.cli.Main',
'Implementation-Title': project.name,
Expand Down
22 changes: 22 additions & 0 deletions graal-config/reflect-config.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,26 @@
[
{
"name": "com.google.gson.stream.JsonReader",
"methods": [
{
"name": "setStrictness",
"parameterTypes": ["com.google.gson.Strictness"]
}
]
},
{
"name": "com.google.gson.Strictness",
"methods": [
{
"name": "valueOf",
"parameterTypes": ["java.lang.String"]
},
{
"name": "valueOf",
"parameterTypes": [ "java.lang.Class" ,"java.lang.String"]
}
]
},
{
"name" : "byte[]",
"unsafeAllocated" : true
Expand Down

0 comments on commit 3b9931e

Please sign in to comment.