@@ -75,74 +75,6 @@ dependencies {
7575
7676}
7777
78- // jsonSchema2Pojo {
79- // // Location of the JSON Schema file(s). This may refer to a single file or a directory of files.
80- // source = files("schemas/")
81- //
82- // // Target directory for generated Java source files. The plugin will add this directory to the
83- // // java source set so the compiler will find and compile the newly generated source files.
84- // targetDirectory = file("src/main/java")
85- //
86- // // Package name used for generated Java classes (for types where a fully qualified name has not
87- // // been supplied in the schema using the 'javaType' property).
88- // targetPackage = 'io.permit.sdk.openapi.models'
89- //
90- // // Whether to allow 'additional' properties to be supported in classes by adding a map to
91- // // hold these. This is true by default, meaning that the schema rule 'additionalProperties'
92- // // controls whether the map is added. Set this to false to globally disable additional properties.
93- // includeAdditionalProperties = false
94- //
95- // // Whether to include a javax.annotation.Generated (Java 8 and lower) or
96- // // javax.annotation.processing.Generated (Java 9+) in on generated types (default true).
97- // // See also: targetVersion.
98- // includeGeneratedAnnotation = true
99- //
100- // // Whether to use the 'title' property of the schema to decide the class name (if not
101- // // set to true, the filename and property names are used).
102- // useTitleAsClassname = true
103- //
104- // // Whether to empty the target directory before generation occurs, to clear out all source files
105- // // that have been generated previously. <strong>Be warned</strong>, when activated this option
106- // // will cause jsonschema2pojo to <strong>indiscriminately delete the entire contents of the target
107- // // directory (all files and folders)</strong> before it begins generating sources.
108- // removeOldOutput = false
109- //
110- // // Whether to generate builder-style methods of the form withXxx(value) (that return this),
111- // // alongside the standard, void-return setters.
112- // generateBuilders = true
113- //
114- // // If set to true, then the gang of four builder pattern will be used to generate builders on
115- // // generated classes. Note: This property works in collaboration with generateBuilders.
116- // // If generateBuilders is false then this property will not do anything.
117- // useInnerClassBuilders = false
118- //
119- // // Whether to include hashCode and equals methods in generated Java types.
120- // includeHashcodeAndEquals = false
121- //
122- // // Whether to include a toString method in generated Java types.
123- // includeToString = false
124- //
125- // // Whether to include getters or to omit these accessor methods and create public fields instead.
126- // includeGetters = false
127- //
128- // // Whether to include setters or to omit these accessor methods and create public fields instead.
129- // includeSetters = false
130- //
131- // // Whether to use java.util.Optional for getters on properties that are not required
132- // useOptionalForGetters = true
133- //
134- // // Whether to generate constructors or not.
135- // includeConstructors = true
136- //
137- // // Whether to include only 'required' fields in generated constructors
138- // constructorsRequiredPropertiesOnly = true
139- //
140- // annotationStyle = 'gson'
141- //
142- // // Whether to initialize Set and List fields as empty collections, or leave them as null.
143- // initializeCollections = false
144- // }
145-
14678// Maven Central Portal publishing configuration
14779// See: https://vanniktech.github.io/gradle-maven-publish-plugin/central/
14880mavenPublishing {
0 commit comments