summaryrefslogtreecommitdiff
path: root/examples/05-native-type-custom-config
diff options
context:
space:
mode:
Diffstat (limited to 'examples/05-native-type-custom-config')
-rw-r--r--examples/05-native-type-custom-config/hobgoblin.json530
1 files changed, 18 insertions, 12 deletions
diff --git a/examples/05-native-type-custom-config/hobgoblin.json5 b/examples/05-native-type-custom-config/hobgoblin.json5
index 89048ac..1c92a49 100644
--- a/examples/05-native-type-custom-config/hobgoblin.json5
+++ b/examples/05-native-type-custom-config/hobgoblin.json5
@@ -1,15 +1,21 @@
{
- outputs: [
- {
- generator: "java-types",
- path: "output/java/src/gen/java",
- packageName: "org.zwobble.example.types",
- nativeTypes: [
- {
- hobgoblin: "point.Point",
- java: "org.zwobble.example.Point",
- }
- ]
+ outputs: {
+ langs: {
+ java: {
+ packageName: "org.zwobble.example.types",
+ nativeTypes: [
+ {
+ hobgoblin: "point.Point",
+ java: "org.zwobble.example.Point",
+ },
+ ],
+ },
},
- ],
+ generators: [
+ {
+ generator: "java-types",
+ path: "output/java/src/gen/java",
+ },
+ ],
+ },
}