|
20 | 20 |
|
21 | 21 |
|
22 | 22 | ext { |
23 | | - processorApiVersion = '1.0.0.M4' |
| 23 | + processorApiVersion = '1.0.0' |
| 24 | + jacksonVersion = '2.11.0' |
24 | 25 |
|
25 | 26 | bintrayUser = project.hasProperty ('BINTRAY_USER') ? BINTRAY_USER : 'n/a' |
26 | 27 | bintrayKey = project.hasProperty ('BINTRAY_KEY') ? BINTRAY_KEY : 'n/a' |
@@ -64,33 +65,41 @@ compileKotlin { |
64 | 65 | } |
65 | 66 |
|
66 | 67 | dependencies { |
67 | | - implementation 'org.codehaus.groovy:groovy:2.5.10' |
68 | | - implementation 'org.codehaus.groovy:groovy-nio:2.5.10' |
69 | | - implementation 'org.jetbrains.kotlin:kotlin-stdlib-jdk8' |
70 | | - implementation 'com.fasterxml.jackson.module:jackson-module-kotlin:2.10.2' |
71 | | - |
72 | | - implementation ('io.swagger.parser.v3:swagger-parser:2.0.19') { |
73 | | - exclude group: 'io.swagger.parser.v3', module: 'swagger-parser-v2-converter' |
74 | | - exclude group: 'io.swagger.core.v3', module: 'swagger-annotations' |
| 68 | + components.all(JacksonPlatformRule) |
| 69 | + components.all(KotlinPlatformRule) |
| 70 | + |
| 71 | + compileOnly 'com.github.hauner.openapi:openapi-processor-api:1.0.0' |
| 72 | + implementation 'com.github.hauner.openapi:openapi-processor-core:1.0.0.M1' |
| 73 | + |
| 74 | + implementation 'org.codehaus.groovy:groovy:2.5.12' |
| 75 | + implementation 'org.slf4j:slf4j-api:1.7.30' |
| 76 | + |
| 77 | + testImplementation ("com.github.hauner.openapi:openapi-processor-api:$processorApiVersion") |
| 78 | + |
| 79 | + testImplementation ('com.github.hauner.openapi:openapi-processor-test:1.0.0.M1') { |
| 80 | + exclude group: 'com.google.guava' |
75 | 81 | } |
76 | | - implementation 'org.openapi4j:openapi-parser:0.9' |
77 | | - implementation 'com.google.googlejavaformat:google-java-format:1.7' |
78 | | - compileOnly "com.github.hauner.openapi:openapi-processor-api:$processorApiVersion" |
79 | 82 |
|
80 | | - testImplementation 'com.google.jimfs:jimfs:1.1' |
| 83 | + testImplementation "com.fasterxml.jackson.core:jackson-core:$jacksonVersion" |
| 84 | + testImplementation "com.fasterxml.jackson.core:jackson-databind:$jacksonVersion" |
| 85 | + |
| 86 | + testImplementation("com.google.jimfs:jimfs:1.1") { |
| 87 | + exclude group: 'com.google.guava' |
| 88 | + } |
| 89 | + |
81 | 90 | testImplementation ('org.spockframework:spock-core:2.0-M2-groovy-2.5') { |
82 | | - exclude group: 'org.codehaus.groovy' |
| 91 | + exclude group: 'org.codehaus.groovy' // avoid unused groovy packages |
83 | 92 | } |
84 | 93 | testImplementation ('org.spockframework:spock-junit4:2.0-M2-groovy-2.5') { |
85 | | - exclude group: 'org.codehaus.groovy' |
| 94 | + exclude group: 'org.codehaus.groovy' // avoid unused groovy packages |
86 | 95 | } |
87 | | - testImplementation 'net.bytebuddy:byte-buddy:1.10.9' |
| 96 | + testImplementation 'net.bytebuddy:byte-buddy:1.10.11' |
88 | 97 | testImplementation 'ch.qos.logback:logback-classic:1.2.3' |
89 | 98 |
|
90 | | - testIntImplementation "com.github.hauner.openapi:openapi-processor-api:$processorApiVersion" |
91 | | - testIntImplementation 'io.github.java-diff-utils:java-diff-utils:4.5' |
92 | | -// testIntRuntimeOnly 'org.slf4j:slf4j-simple:1.7.30' |
93 | | -// testIntRuntimeOnly 'org.slf4j:slf4j-nop:1.6.1' |
| 99 | + constraints { |
| 100 | + testImplementation ('org.junit.platform:junit-platform-engine:1.6.2') |
| 101 | + testImplementation ('junit:junit:4.13') |
| 102 | + } |
94 | 103 | } |
95 | 104 |
|
96 | 105 | tasks.withType(Test) { |
|
0 commit comments