aboutsummaryrefslogtreecommitdiffstats
path: root/build.gradle
diff options
context:
space:
mode:
authorAndreas Beeker <kiwiwings@apache.org>2021-05-14 00:37:50 +0000
committerAndreas Beeker <kiwiwings@apache.org>2021-05-14 00:37:50 +0000
commit0614835c55f44ab6f3e9b0850ca51e0e53a65a49 (patch)
tree586c68c89edb0978a441facf0066ff56d84fa2c7 /build.gradle
parentfe753d473788fc24030d7066654c56c33fff23b5 (diff)
downloadpoi-0614835c55f44ab6f3e9b0850ca51e0e53a65a49.tar.gz
poi-0614835c55f44ab6f3e9b0850ca51e0e53a65a49.zip
#65304 - Add commons-io as a dependency
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1889871 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'build.gradle')
-rw-r--r--build.gradle4
1 files changed, 4 insertions, 0 deletions
diff --git a/build.gradle b/build.gradle
index 2ee40a3092..debb97b3bf 100644
--- a/build.gradle
+++ b/build.gradle
@@ -100,6 +100,7 @@ subprojects {
bouncyCastleVersion = '1.68'
commonsCodecVersion = '1.15'
commonsCompressVersion = '1.20'
+ commonsIoVersion = '2.8.0'
commonsMathVersion = '3.6.1'
junitVersion = '5.7.1'
log4jVersion = '2.14.0'
@@ -117,6 +118,8 @@ subprojects {
tasks.withType(JavaCompile) {
options.encoding = 'UTF-8'
+ options.compilerArgs << '-Xlint:unchecked'
+ options.deprecation = true
}
tasks.withType(Jar) {
@@ -371,6 +374,7 @@ rat {
excludes.add("**/out/**")
excludes.add("**/*.iml")
excludes.add("**/*.log")
+ excludes.add("**/gradle-wrapper.properties")
excludes.add("**/main/java/org/apache/poi/**/*-chart-data.txt")
excludes.add("poi/src/main/resources/org/apache/poi/sl/draw/geom/presetShapeDefinitions.xml")
excludes.add("poi-ooxml/src/main/resources/org/apache/poi/xslf/usermodel/notesMaster.xml")