From 3c6dd6cecdfbc9eabe75c60b604dcd7690f144e6 Mon Sep 17 00:00:00 2001 From: Sheridan C Rawlins Date: Mon, 19 Sep 2016 22:28:42 -0700 Subject: [PATCH] Issue #624: Default value of propertyWordDelimiters is empty in gradle vs "- _" for maven Fixes #624 --- .../org/jsonschema2pojo/gradle/JsonSchemaExtension.groovy | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/jsonschema2pojo-gradle-plugin/src/main/groovy/org/jsonschema2pojo/gradle/JsonSchemaExtension.groovy b/jsonschema2pojo-gradle-plugin/src/main/groovy/org/jsonschema2pojo/gradle/JsonSchemaExtension.groovy index a75faaf5f..965a3665c 100644 --- a/jsonschema2pojo-gradle-plugin/src/main/groovy/org/jsonschema2pojo/gradle/JsonSchemaExtension.groovy +++ b/jsonschema2pojo-gradle-plugin/src/main/groovy/org/jsonschema2pojo/gradle/JsonSchemaExtension.groovy @@ -76,7 +76,7 @@ public class JsonSchemaExtension implements GenerationConfig { usePrimitives = false sourceFiles = [] targetPackage = '' - propertyWordDelimiters = [] as char[] + propertyWordDelimiters = ['-', ' ', '_'] as char[] useLongIntegers = false useBigIntegers = false useDoubleNumbers = true