Skip to content

Commit 2cec789

Browse files
committed
Merge #489 from remote-tracking branch 'origin/5.6.0-rc1'
2 parents 1860026 + fd66002 commit 2cec789

File tree

26 files changed

+89
-75
lines changed

26 files changed

+89
-75
lines changed

build.gradle

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,20 @@ plugins {
2323
id 'io.codearte.nexus-staging' version '0.11.0'
2424
}
2525

26+
subprojects {
27+
ext {
28+
versions = [
29+
'assertj_core': '3.11.1',
30+
'commons_compress': '1.21',
31+
'jackson_databind': '2.15.1',
32+
'junit': '4.12',
33+
'mockito': '2.5.7',
34+
'slf4j': '1.7.36',
35+
'wiremock_jre': '2.35.0'
36+
]
37+
}
38+
}
39+
2640
ext.scmInfo = getScmInfo()
2741

2842
allprojects {

metafacture-biblio/build.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,6 @@ dependencies {
2727
exclude group: 'xercesImpl', module: 'xercesImpl'
2828
exclude group: 'xml-apis', module: 'xml-apis'
2929
}
30-
testImplementation 'junit:junit:4.12'
31-
testImplementation 'org.mockito:mockito-core:2.5.5'
30+
testImplementation "junit:junit:${versions.junit}"
31+
testImplementation "org.mockito:mockito-core:${versions.mockito}"
3232
}

metafacture-commons/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,5 +18,5 @@ ext.mavenName = 'Metafacture Commons'
1818
description = 'Basic types, algorithms and utilities for Metafacture'
1919

2020
dependencies {
21-
testImplementation 'junit:junit:4.12'
21+
testImplementation "junit:junit:${versions.junit}"
2222
}

metafacture-csv/build.gradle

Lines changed: 3 additions & 3 deletions
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:3.8'
23-
testImplementation 'junit:junit:4.12'
24-
testImplementation 'org.mockito:mockito-core:2.5.5'
22+
implementation 'com.opencsv:opencsv:3.9'
23+
testImplementation "junit:junit:${versions.junit}"
24+
testImplementation "org.mockito:mockito-core:${versions.mockito}"
2525
}

metafacture-elasticsearch/build.gradle

Lines changed: 3 additions & 3 deletions
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:2.13.0'
23-
testImplementation 'junit:junit:4.12'
24-
testImplementation 'org.mockito:mockito-core:2.5.5'
22+
implementation "com.fasterxml.jackson.core:jackson-databind:${versions.jackson_databind}"
23+
testImplementation "junit:junit:${versions.junit}"
24+
testImplementation "org.mockito:mockito-core:${versions.mockito}"
2525
}

metafacture-flowcontrol/build.gradle

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,9 @@ description = 'Modules for controlling the data flow in a Metafacture pipeline'
1919

2020
dependencies {
2121
api project(':metafacture-framework')
22-
implementation 'org.slf4j:slf4j-api:1.7.21'
23-
testImplementation 'junit:junit:4.12'
24-
testImplementation 'org.mockito:mockito-core:2.5.5'
25-
testImplementation 'org.assertj:assertj-core:3.11.1'
26-
testRuntimeOnly 'org.slf4j:slf4j-simple:1.7.21'
22+
implementation "org.slf4j:slf4j-api:${versions.slf4j}"
23+
testImplementation "junit:junit:${versions.junit}"
24+
testImplementation "org.mockito:mockito-core:${versions.mockito}"
25+
testImplementation "org.assertj:assertj-core:${versions.assertj_core}"
26+
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
@@ -25,5 +25,5 @@ dependencies {
2525
implementation project(':metafacture-io')
2626
testRuntime project(':metafacture-plumbing')
2727
antlr 'org.antlr:antlr:3.5.2'
28-
testImplementation 'junit:junit:4.12'
28+
testImplementation "junit:junit:${versions.junit}"
2929
}

metafacture-formeta/build.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,6 @@ description = 'Modules for reading and writing data in Formeta format'
2020
dependencies {
2121
api project(':metafacture-framework')
2222
implementation project(':metafacture-commons')
23-
testImplementation 'junit:junit:4.12'
24-
testImplementation 'org.mockito:mockito-core:2.5.5'
23+
testImplementation "junit:junit:${versions.junit}"
24+
testImplementation "org.mockito:mockito-core:${versions.mockito}"
2525
}

metafacture-framework/build.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,6 @@ ext.mavenName = 'Metafacture Framework'
1818
description = 'The interfaces implemented by Metafacture modules'
1919

2020
dependencies {
21-
testImplementation 'junit:junit:4.12'
22-
testImplementation 'org.mockito:mockito-core:2.5.5'
21+
testImplementation "junit:junit:${versions.junit}"
22+
testImplementation "org.mockito:mockito-core:${versions.mockito}"
2323
}

metafacture-html/build.gradle

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -20,11 +20,11 @@ description = 'Modules for processing HTML documents'
2020
dependencies {
2121
api project(':metafacture-framework')
2222
implementation project(':metafacture-commons')
23-
implementation 'org.slf4j:slf4j-api:1.7.21'
24-
implementation 'org.apache.commons:commons-compress:1.21'
25-
implementation 'commons-io:commons-io:2.6'
26-
implementation 'org.jsoup:jsoup:1.12.1'
27-
testImplementation 'junit:junit:4.12'
28-
testImplementation 'org.mockito:mockito-core:2.5.5'
29-
testRuntimeOnly 'org.slf4j:slf4j-simple:1.7.21'
23+
implementation "org.slf4j:slf4j-api:${versions.slf4j}"
24+
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'
27+
testImplementation "junit:junit:${versions.junit}"
28+
testImplementation "org.mockito:mockito-core:${versions.mockito}"
29+
testRuntimeOnly "org.slf4j:slf4j-simple:${versions.slf4j}"
3030
}

0 commit comments

Comments
 (0)