|
|
@@ -92,7 +92,10 @@ subprojects { |
|
|
|
|
|
|
|
version = '4.1.3-SNAPSHOT' |
|
|
|
ext { |
|
|
|
commonsCompressVersion = '1.19' |
|
|
|
japicmpversion = '4.1.2' |
|
|
|
junitVersion = '4.13' |
|
|
|
xmlbeansVersion = '3.1.0' |
|
|
|
} |
|
|
|
|
|
|
|
tasks.withType(JavaCompile) { |
|
|
@@ -187,7 +190,7 @@ project('main') { |
|
|
|
implementation 'javax.activation:activation:1.1.1' |
|
|
|
implementation 'com.zaxxer:SparseBitSet:1.2' |
|
|
|
|
|
|
|
testImplementation 'junit:junit:4.13' |
|
|
|
testImplementation "junit:junit:${junitVersion}" |
|
|
|
testImplementation 'org.mockito:mockito-core:3.2.4' |
|
|
|
testImplementation 'org.reflections:reflections:0.9.11' |
|
|
|
} |
|
|
@@ -213,7 +216,7 @@ project('main') { |
|
|
|
tests testJar |
|
|
|
} |
|
|
|
|
|
|
|
japicmp.baseline = 'org.apache.poi:poi:' + japicmpversion + '@jar' |
|
|
|
japicmp.baseline = "org.apache.poi:poi:${japicmpversion}@jar" |
|
|
|
} |
|
|
|
|
|
|
|
project('ooxml') { |
|
|
@@ -230,10 +233,10 @@ project('ooxml') { |
|
|
|
compileJava.dependsOn 'ant-compile-ooxml-xsds' |
|
|
|
|
|
|
|
dependencies { |
|
|
|
implementation 'org.apache.xmlbeans:xmlbeans:3.1.0' |
|
|
|
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-compress:1.19' |
|
|
|
implementation "org.apache.commons:commons-compress:${commonsCompressVersion}" |
|
|
|
implementation 'org.apache.santuario:xmlsec:2.1.2' |
|
|
|
implementation 'org.bouncycastle:bcpkix-jdk15on:1.62' |
|
|
|
implementation 'com.github.virtuald:curvesapi:1.06' |
|
|
@@ -245,14 +248,14 @@ project('ooxml') { |
|
|
|
implementation 'org.apache.xmlgraphics:xmlgraphics-commons:2.3' |
|
|
|
|
|
|
|
// for ooxml-lite, should we move this somewhere else? |
|
|
|
implementation 'junit:junit:4.13' |
|
|
|
implementation "junit:junit:${junitVersion}" |
|
|
|
|
|
|
|
implementation project(':main') |
|
|
|
implementation project(':scratchpad') // TODO: get rid of this dependency! |
|
|
|
implementation files('../../ooxml-lib/ooxml-schemas-1.4.jar') |
|
|
|
implementation files('../../ooxml-lib/ooxml-security-1.1.jar') |
|
|
|
|
|
|
|
testImplementation 'junit:junit:4.13' |
|
|
|
testImplementation "junit:junit:${junitVersion}" |
|
|
|
testImplementation 'org.mockito:mockito-core:3.2.4' |
|
|
|
testImplementation 'org.xmlunit:xmlunit-core:2.5.1' |
|
|
|
testImplementation 'org.reflections:reflections:0.9.11' |
|
|
@@ -267,7 +270,7 @@ project('ooxml') { |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
japicmp.baseline = 'org.apache.poi:poi-ooxml:' + japicmpversion + '@jar' |
|
|
|
japicmp.baseline = "org.apache.poi:poi:${japicmpversion}@jar" |
|
|
|
} |
|
|
|
|
|
|
|
project('examples') { |
|
|
@@ -276,6 +279,10 @@ project('examples') { |
|
|
|
dependencies { |
|
|
|
implementation project(':main') |
|
|
|
implementation project(':ooxml') |
|
|
|
implementation project(':scratchpad') |
|
|
|
implementation "org.apache.xmlbeans:xmlbeans:${xmlbeansVersion}" |
|
|
|
implementation files('../../ooxml-lib/ooxml-schemas-1.4.jar') |
|
|
|
implementation "org.apache.commons:commons-compress:${commonsCompressVersion}" |
|
|
|
} |
|
|
|
|
|
|
|
japicmp.enabled = false |
|
|
@@ -294,6 +301,7 @@ project('excelant') { |
|
|
|
implementation project(':ooxml') |
|
|
|
|
|
|
|
testImplementation project(path: ':main', configuration: 'tests') |
|
|
|
testImplementation "junit:junit:${junitVersion}" |
|
|
|
} |
|
|
|
|
|
|
|
jar { |
|
|
@@ -302,7 +310,7 @@ project('excelant') { |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
japicmp.baseline = 'org.apache.poi:poi-excelant:' + japicmpversion + '@jar' |
|
|
|
japicmp.baseline = "org.apache.poi:poi-excelant:${japicmpversion}@jar" |
|
|
|
} |
|
|
|
|
|
|
|
project('integrationtest') { |
|
|
@@ -316,7 +324,9 @@ project('integrationtest') { |
|
|
|
implementation project(':scratchpad') |
|
|
|
implementation project(':examples') |
|
|
|
|
|
|
|
testImplementation 'junit:junit:4.13' |
|
|
|
testImplementation "junit:junit:${junitVersion}" |
|
|
|
testImplementation "org.apache.xmlbeans:xmlbeans:${xmlbeansVersion}" |
|
|
|
testImplementation files('../../ooxml-lib/ooxml-schemas-1.4.jar') |
|
|
|
} |
|
|
|
|
|
|
|
jar { |
|
|
@@ -353,7 +363,7 @@ project('scratchpad') { |
|
|
|
|
|
|
|
// cyclic-dependency here: implementation project(':ooxml') |
|
|
|
|
|
|
|
testImplementation 'junit:junit:4.13' |
|
|
|
testImplementation "junit:junit:${junitVersion}" |
|
|
|
testImplementation 'org.mockito:mockito-core:3.2.4' |
|
|
|
testImplementation project(path: ':main', configuration: 'tests') |
|
|
|
} |
|
|
@@ -364,5 +374,5 @@ project('scratchpad') { |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
japicmp.baseline = 'org.apache.poi:poi-scratchpad:' + japicmpversion + '@jar' |
|
|
|
japicmp.baseline = "org.apache.poi:poi:${japicmpversion}@jar" |
|
|
|
} |