Skip to content

Commit b30b009

Browse files
committed
Consolidate version dependencies. (metafacture/metafacture-playground#193)
Upgrades: - `metafacture-io`: `commons-io`: 2.5 -> 2.7, `wiremock-jre8`: 2.33.2 -> 2.35.0 - `metafacture-json`: `jackson-core`: 2.14.2 -> 2.15.1 - `metafacture-runner`: `antlr`: 3.2 -> 3.5.2 - `metafix`: `jackson-core`: 2.13.3 -> 2.15.1
1 parent 2ca72b8 commit b30b009

File tree

12 files changed

+34
-24
lines changed

12 files changed

+34
-24
lines changed

build.gradle

Lines changed: 14 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -28,25 +28,35 @@ subprojects {
2828
ext {
2929
versions = [
3030
'ace': '1.3.3',
31-
'antlr': '3.2',
32-
'assertj_core': '3.11.1',
31+
'antlr': '3.5.2',
32+
'assertj': '3.11.1',
3333
'commons_compress': '1.21',
34+
'commons_io': '2.7',
35+
'dbcp': '1.4',
36+
'dspace': '1.0.0',
3437
'equalsverifier': '3.8.2',
38+
'everit': '1.14.2',
3539
'guava': '32.0.1-jre',
36-
'jackson': '2.13.3',
37-
'jackson_databind': '2.15.1',
40+
'jackson': '2.15.1',
3841
'jdk': '11',
42+
'jdom': '2.0.6.1',
3943
'jena': '3.17.0',
4044
'jetty': '9.4.14.v20181114',
45+
'jndi': '0.11.4.1',
4146
'jquery': '3.3.1-1',
47+
'jsonpath': '2.7.0',
48+
'jsoup': '1.15.4',
4249
'junit': '4.12',
4350
'junit_jupiter': '5.8.2',
4451
'junit_platform': '1.4.2',
4552
'mockito': '2.27.0',
53+
'opencsv': '5.9',
4654
'requirejs': '2.3.6',
4755
'slf4j': '1.7.36',
4856
'slf4j_mock': '2.3.0',
57+
'tukaani': '1.6',
4958
'wiremock': '2.35.0',
59+
'xalan': '2.7.0',
5060
'xtext': '2.26.0'
5161
]
5262
}

metafacture-biblio/build.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,8 @@ dependencies {
2121
api project(':metafacture-framework')
2222
implementation project(':metafacture-commons')
2323
implementation project(':metafacture-flowcontrol')
24-
implementation 'org.dspace:oclc-harvester2:1.0.0'
25-
implementation ('xalan:xalan:2.7.0') {
24+
implementation "org.dspace:oclc-harvester2:${versions.dspace}"
25+
implementation ("xalan:xalan:${versions.xalan}") {
2626
exclude group: 'xalan', module: 'serializer'
2727
exclude group: 'xercesImpl', module: 'xercesImpl'
2828
exclude group: 'xml-apis', module: 'xml-apis'

metafacture-csv/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ description = 'Modules for processing comma-separated values'
1919

2020
dependencies {
2121
api project(':metafacture-framework')
22-
implementation 'com.opencsv:opencsv:5.9'
22+
implementation "com.opencsv:opencsv:${versions.opencsv}"
2323
testImplementation "junit:junit:${versions.junit}"
2424
testImplementation "org.mockito:mockito-core:${versions.mockito}"
2525
}

metafacture-elasticsearch/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ description = 'Modules for sending data to an Elasticsearch instance'
1919

2020
dependencies {
2121
api project(':metafacture-framework')
22-
implementation "com.fasterxml.jackson.core:jackson-databind:${versions.jackson_databind}"
22+
implementation "com.fasterxml.jackson.core:jackson-databind:${versions.jackson}"
2323
testImplementation "junit:junit:${versions.junit}"
2424
testImplementation "org.mockito:mockito-core:${versions.mockito}"
2525
}

metafacture-flowcontrol/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,6 @@ dependencies {
2222
implementation "org.slf4j:slf4j-api:${versions.slf4j}"
2323
testImplementation "junit:junit:${versions.junit}"
2424
testImplementation "org.mockito:mockito-core:${versions.mockito}"
25-
testImplementation "org.assertj:assertj-core:${versions.assertj_core}"
25+
testImplementation "org.assertj:assertj-core:${versions.assertj}"
2626
testRuntimeOnly "org.slf4j:slf4j-simple:${versions.slf4j}"
2727
}

metafacture-flux/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,6 @@ dependencies {
2424
implementation project(':metafacture-commons')
2525
implementation project(':metafacture-io')
2626
testRuntimeOnly project(':metafacture-plumbing')
27-
antlr 'org.antlr:antlr:3.5.2'
27+
antlr "org.antlr:antlr:${versions.antlr}"
2828
testImplementation "junit:junit:${versions.junit}"
2929
}

metafacture-html/build.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,8 @@ dependencies {
2222
implementation project(':metafacture-commons')
2323
implementation "org.slf4j:slf4j-api:${versions.slf4j}"
2424
implementation "org.apache.commons:commons-compress:${versions.commons_compress}"
25-
implementation 'commons-io:commons-io:2.7'
26-
implementation 'org.jsoup:jsoup:1.15.4'
25+
implementation "commons-io:commons-io:${versions.commons_io}"
26+
implementation "org.jsoup:jsoup:${versions.jsoup}"
2727
testImplementation "junit:junit:${versions.junit}"
2828
testImplementation "org.mockito:mockito-core:${versions.mockito}"
2929
testRuntimeOnly "org.slf4j:slf4j-simple:${versions.slf4j}"

metafacture-io/build.gradle

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,12 +20,12 @@ description = 'Modules for reading and writing data streams'
2020
dependencies {
2121
api project(':metafacture-framework')
2222
implementation project(':metafacture-commons')
23-
implementation 'commons-io:commons-io:2.5'
23+
implementation "commons-io:commons-io:${versions.commons_io}"
2424
implementation "org.apache.commons:commons-compress:${versions.commons_compress}"
25-
runtimeOnly 'org.tukaani:xz:1.6'
26-
testImplementation 'com.github.tomakehurst:wiremock-jre8:2.33.2'
25+
runtimeOnly "org.tukaani:xz:${versions.tukaani}"
26+
testImplementation "com.github.tomakehurst:wiremock-jre8:${versions.wiremock}"
2727
testImplementation "junit:junit:${versions.junit}"
2828
testImplementation "org.mockito:mockito-core:${versions.mockito}"
29-
testImplementation "org.assertj:assertj-core:${versions.assertj_core}"
29+
testImplementation "org.assertj:assertj-core:${versions.assertj}"
3030
testRuntimeOnly "org.slf4j:slf4j-simple:${versions.slf4j}"
3131
}

metafacture-jdom/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,6 @@ description = 'Modules for converting JDOM documents to Metafacture streams and
1919

2020
dependencies {
2121
api project(':metafacture-framework')
22-
api 'org.jdom:jdom2:2.0.6.1'
22+
api "org.jdom:jdom2:${versions.jdom}"
2323
implementation project(':metafacture-commons')
2424
}

metafacture-json/build.gradle

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,10 +19,10 @@ description = 'Modules for processing JSON data in Metafacture'
1919

2020
dependencies {
2121
api project(':metafacture-framework')
22-
implementation 'com.fasterxml.jackson.core:jackson-core:2.14.2'
23-
implementation "com.fasterxml.jackson.core:jackson-databind:${versions.jackson_databind}"
24-
implementation 'com.jayway.jsonpath:json-path:2.7.0'
25-
implementation 'com.github.erosb:everit-json-schema:1.14.2'
22+
implementation "com.fasterxml.jackson.core:jackson-core:${versions.jackson}"
23+
implementation "com.fasterxml.jackson.core:jackson-databind:${versions.jackson}"
24+
implementation "com.jayway.jsonpath:json-path:${versions.jsonpath}"
25+
implementation "com.github.erosb:everit-json-schema:${versions.everit}"
2626
testImplementation "junit:junit:${versions.junit}"
2727
testImplementation "org.mockito:mockito-core:${versions.mockito}"
2828
testImplementation "com.github.tomakehurst:wiremock-jre8:${versions.wiremock}"

metafacture-runner/build.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -88,9 +88,9 @@ dependencies {
8888
// work out of the box. By including the dependencies in the assembly without
8989
// putting them on the class path, the user can replace them easily with other
9090
// implementations if necessary:
91-
provided 'simple-jndi:simple-jndi:0.11.4.1'
91+
provided "simple-jndi:simple-jndi:${versions.jndi}"
9292
// Required for connection pooling with simple-jndi:
93-
provided 'commons-dbcp:commons-dbcp:1.4'
93+
provided "commons-dbcp:commons-dbcp:${versions.dbcp}"
9494

9595
implementation('org.antlr:antlr-runtime') {
9696
version { strictly versions.antlr }

metafacture-yaml/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ description = 'Modules for processing YAML data in Metafacture'
1919

2020
dependencies {
2121
api project(':metafacture-framework')
22-
implementation 'com.fasterxml.jackson.dataformat:jackson-dataformat-yaml:2.15.1'
22+
implementation "com.fasterxml.jackson.dataformat:jackson-dataformat-yaml:${versions.jackson}"
2323
testImplementation "junit:junit:${versions.junit}"
2424
testImplementation "org.mockito:mockito-core:${versions.mockito}"
2525
}

0 commit comments

Comments
 (0)