Skip to content

Commit 5dceb1a

Browse files
committed
Sync JS2PConfig and gradle plugin extension
1 parent d20175e commit 5dceb1a

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

src/main/groovy/com/github/eirnym/js2p/JS2PConfig.groovy

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,14 +7,11 @@ import org.gradle.api.file.Directory
77
import org.gradle.api.provider.Provider
88
import org.jsonschema2pojo.*
99
import org.jsonschema2pojo.rules.RuleFactory
10-
import org.slf4j.Logger
11-
import org.slf4j.LoggerFactory
1210

1311
import java.util.stream.Collectors
1412

1513
@ToString
1614
class JS2PConfig implements GenerationConfig {
17-
private static final Logger logger = LoggerFactory.getLogger(JS2PConfig)
1815
List<URL> sourceFiles
1916
File targetDirectory
2017

src/main/groovy/com/github/eirnym/js2p/JsonSchemaExtension.groovy

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ class JsonSchemaExtension {
3434
String customAnnotator
3535
String customRuleFactory
3636
Boolean generateBuilders
37-
Boolean includeJsonTypeInfoAnnotation
37+
Boolean includeTypeInfo
3838
Boolean useInnerClassBuilders
3939
Boolean includeConstructorPropertiesAnnotation
4040
Boolean includeGetters
@@ -54,6 +54,7 @@ class JsonSchemaExtension {
5454
Boolean includeJsr305Annotations
5555
Boolean useOptionalForGetters
5656
Boolean includeToString
57+
Boolean includeGeneratedAnnotation
5758
List<String> toStringExcludes
5859
Boolean initializeCollections
5960
String outputEncoding

0 commit comments

Comments
 (0)