Skip to content

Commit b34d89c

Browse files
committed
update dependencies
1 parent 12481dc commit b34d89c

File tree

3 files changed

+74
-37
lines changed

3 files changed

+74
-37
lines changed

build.gradle

Lines changed: 31 additions & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -13,12 +13,6 @@ plugins {
1313
group projectGroupId
1414
version projectVersion
1515

16-
ext {
17-
processorApiVersion = '2021.1'
18-
processorCoreVersion = '2022.5'
19-
processorTestVersion = '2022.2'
20-
}
21-
2216
repositories {
2317
mavenLocal()
2418
mavenCentral()
@@ -99,36 +93,37 @@ tasks.named('sourcesJar') {
9993
}
10094

10195
dependencies {
102-
compileOnly "io.openapiprocessor:openapi-processor-api:$processorApiVersion"
103-
implementation platform("org.jetbrains.kotlin:kotlin-bom:1.6.21")
104-
implementation platform("com.fasterxml.jackson:jackson-bom:2.13.3")
105-
106-
implementation "io.openapiprocessor:openapi-processor-core:$processorCoreVersion"
107-
implementation 'org.slf4j:slf4j-api:1.7.36'
108-
implementation ('com.google.guava:guava:31.1-jre')
109-
110-
testImplementation ("io.openapiprocessor:openapi-processor-api:$processorApiVersion")
111-
testImplementation ("io.openapiprocessor:openapi-processor-test:$processorTestVersion")
112-
testImplementation platform("org.codehaus.groovy:groovy-bom:3.0.10")
113-
testImplementation ("org.codehaus.groovy:groovy")
114-
testImplementation ("org.codehaus.groovy:groovy-nio")
115-
testImplementation ('org.spockframework:spock-core:2.0-groovy-3.0')
116-
testImplementation("io.mockk:mockk:1.12.4")
117-
testImplementation("io.kotest:kotest-runner-junit5:5.3.0")
118-
testImplementation 'ch.qos.logback:logback-classic:1.2.11'
119-
testImplementation("com.google.jimfs:jimfs:1.2")
120-
121-
testIntImplementation ("io.openapiprocessor:openapi-processor-api:$processorApiVersion")
122-
testIntImplementation ("io.openapiprocessor:openapi-processor-core:$processorCoreVersion")
123-
testIntImplementation ("io.openapiprocessor:openapi-processor-test:$processorTestVersion")
124-
testIntImplementation platform("org.codehaus.groovy:groovy-bom:3.0.10")
125-
testIntImplementation ("org.codehaus.groovy:groovy")
126-
testIntImplementation ("org.codehaus.groovy:groovy-nio")
127-
testIntImplementation ('org.spockframework:spock-core:2.0-groovy-3.0')
128-
testIntImplementation("io.mockk:mockk:1.12.4")
129-
testIntImplementation("io.kotest:kotest-runner-junit5:5.3.0")
130-
testIntImplementation 'ch.qos.logback:logback-classic:1.2.11'
131-
testIntImplementation("com.google.jimfs:jimfs:1.2")
96+
compileOnly (libs.openapi.processor.api)
97+
implementation (libs.openapi.processor.core)
98+
implementation (libs.slf4j)
99+
100+
testImplementation (libs.openapi.processor.api)
101+
testImplementation (libs.openapi.processor.test)
102+
testImplementation (libs.openapi.processor.core)
103+
testImplementation platform(libs.groovy.bom)
104+
testImplementation ("org.apache.groovy:groovy")
105+
testImplementation ("org.apache.groovy:groovy-nio")
106+
testImplementation (libs.spock)
107+
testImplementation (platform(libs.kotest.bom))
108+
testImplementation (libs.kotest.runner)
109+
testImplementation (libs.kotest.datatest)
110+
testImplementation (libs.mockk)
111+
testImplementation (libs.logback)
112+
testImplementation (libs.jimfs)
113+
114+
testIntImplementation (libs.openapi.processor.api)
115+
testIntImplementation (libs.openapi.processor.test)
116+
testIntImplementation (libs.openapi.processor.core)
117+
testIntImplementation platform(libs.groovy.bom)
118+
testIntImplementation ("org.apache.groovy:groovy")
119+
testIntImplementation ("org.apache.groovy:groovy-nio")
120+
testIntImplementation (libs.spock)
121+
testIntImplementation (platform(libs.kotest.bom))
122+
testIntImplementation (libs.kotest.runner)
123+
testIntImplementation (libs.kotest.datatest)
124+
testIntImplementation (libs.mockk)
125+
testIntImplementation (libs.logback)
126+
testIntImplementation (libs.jimfs)
132127
}
133128

134129
tasks.named("dependencyUpdates").configure {

gradle/libs.versions.toml

Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
[versions]
2+
kotlin = "1.7.20"
3+
build-jdk = "11"
4+
target-jdk = "8"
5+
6+
junit = "5.9.1"
7+
jacoco = "0.8.7"
8+
9+
[libraries]
10+
openapi-processor-api = "io.openapiprocessor:openapi-processor-api:2021.1"
11+
openapi-processor-test = "io.openapiprocessor:openapi-processor-test:2022.3"
12+
openapi-processor-core = "io.openapiprocessor:openapi-processor-core:2022.6-SNAPSHOT"
13+
14+
jackson-bom = "com.fasterxml.jackson:jackson-bom:2.13.4"
15+
jackson-databind = { module = "com.fasterxml.jackson.core:jackson-databind" }
16+
jackson-yaml = { module = "com.fasterxml.jackson.dataformat:jackson-dataformat-yaml" }
17+
jackson-kotlin = { module = "com.fasterxml.jackson.module:jackson-module-kotlin" }
18+
19+
checker = "org.checkerframework:checker:3.25.0"
20+
jimfs = "com.google.jimfs:jimfs:1.2"
21+
slf4j = "org.slf4j:slf4j-api:2.0.3"
22+
logback = "ch.qos.logback:logback-classic:1.4.1"
23+
24+
kotest-bom = "io.kotest:kotest-bom:5.4.2"
25+
kotest-runner = { module = "io.kotest:kotest-runner-junit5" }
26+
kotest-datatest = { module = "io.kotest:kotest-framework-datatest" }
27+
mockk = "io.mockk:mockk:1.13.1"
28+
29+
groovy-bom = "org.apache.groovy:groovy-bom:4.0.5"
30+
spock = "org.spockframework:spock-core:2.2-groovy-4.0"
31+
32+
plugin-kotlin = { module = "org.jetbrains.kotlin:kotlin-gradle-plugin", version.ref = "kotlin"}
33+
plugin-checker = "org.checkerframework:checkerframework-gradle-plugin:0.6.5"
34+
plugin-outdated = "com.github.ben-manes:gradle-versions-plugin:0.42.0"
35+
36+
[bundles]
37+
jackson = ["jackson-databind", "jackson-yaml", "jackson-kotlin"]
38+
39+
[plugins]
40+
kotlin = { id = "org.jetbrains.kotlin.jvm", version.ref = "kotlin" }
41+
nexus = { id = "io.github.gradle-nexus.publish-plugin", version = "1.1.0" }
42+
jacoco = { id = "org.barfuin.gradle.jacocolog", version = "2.0.0" }

gradle/wrapper/gradle-wrapper.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@ distributionBase=GRADLE_USER_HOME
22
distributionPath=wrapper/dists
33
zipStoreBase=GRADLE_USER_HOME
44
zipStorePath=wrapper/dists
5-
distributionUrl=https\://services.gradle.org/distributions/gradle-7.4.2-all.zip
5+
distributionUrl=https\://services.gradle.org/distributions/gradle-7.5.1-all.zip

0 commit comments

Comments
 (0)