aboutsummaryrefslogtreecommitdiffstats
path: root/build.gradle
diff options
context:
space:
mode:
Diffstat (limited to 'build.gradle')
-rw-r--r--build.gradle21
1 files changed, 12 insertions, 9 deletions
diff --git a/build.gradle b/build.gradle
index 0e397e724f..b71bf66cf2 100644
--- a/build.gradle
+++ b/build.gradle
@@ -92,9 +92,12 @@ subprojects {
version = '4.1.3-SNAPSHOT'
ext {
- commonsCompressVersion = '1.19'
+ commonsCodecVersion = '1.13'
+ commonsCompressVersion = '1.20'
+ commonsMathVersion = '3.6.1'
japicmpversion = '4.1.2'
junitVersion = '4.13'
+ mockitoVersion = '3.2.4'
xmlbeansVersion = '3.1.0'
}
@@ -180,10 +183,10 @@ project('main') {
sourceSets.test.java.srcDirs = ['../../src/testcases']
dependencies {
- implementation 'commons-codec:commons-codec:1.13'
+ implementation "commons-codec:commons-codec:${commonsCodecVersion}"
implementation 'commons-logging:commons-logging:1.2'
implementation 'org.apache.commons:commons-collections4:4.4'
- implementation 'org.apache.commons:commons-math3:3.6.1'
+ implementation "org.apache.commons:commons-math3:${commonsMathVersion}"
implementation 'javax.xml.bind:jaxb-api:2.3.1'
implementation 'com.sun.xml.bind:jaxb-impl:2.3.2'
implementation 'com.sun.xml.bind:jaxb-core:2.3.0.1'
@@ -191,7 +194,7 @@ project('main') {
implementation 'com.zaxxer:SparseBitSet:1.2'
testImplementation "junit:junit:${junitVersion}"
- testImplementation 'org.mockito:mockito-core:3.2.4'
+ testImplementation "org.mockito:mockito-core:${mockitoVersion}"
testImplementation 'org.reflections:reflections:0.9.11'
}
@@ -235,7 +238,7 @@ project('ooxml') {
dependencies {
implementation "org.apache.xmlbeans:xmlbeans:${xmlbeansVersion}"
implementation 'org.apache.commons:commons-collections4:4.4'
- implementation 'org.apache.commons:commons-math3:3.6.1'
+ implementation "org.apache.commons:commons-math3:${commonsMathVersion}"
implementation "org.apache.commons:commons-compress:${commonsCompressVersion}"
implementation 'org.apache.santuario:xmlsec:2.1.2'
implementation 'org.bouncycastle:bcpkix-jdk15on:1.62'
@@ -256,7 +259,7 @@ project('ooxml') {
implementation files('../../ooxml-lib/ooxml-security-1.1.jar')
testImplementation "junit:junit:${junitVersion}"
- testImplementation 'org.mockito:mockito-core:3.2.4'
+ testImplementation "org.mockito:mockito-core:${mockitoVersion}"
testImplementation 'org.xmlunit:xmlunit-core:2.5.1'
testImplementation 'org.reflections:reflections:0.9.11'
testImplementation project(path: ':main', configuration: 'tests')
@@ -358,13 +361,13 @@ project('scratchpad') {
dependencies {
implementation project(':main')
- implementation 'commons-codec:commons-codec:1.13'
- implementation 'org.apache.commons:commons-math3:3.6.1'
+ implementation "commons-codec:commons-codec:${commonsCodecVersion}"
+ implementation "org.apache.commons:commons-math3:${commonsMathVersion}"
// cyclic-dependency here: implementation project(':ooxml')
testImplementation "junit:junit:${junitVersion}"
- testImplementation 'org.mockito:mockito-core:3.2.4'
+ testImplementation "org.mockito:mockito-core:${mockitoVersion}"
testImplementation project(path: ':main', configuration: 'tests')
}