Commit Graph

50 Commits

Author SHA1 Message Date
PJ Fanning
8dad927a8c fix gradle build issue
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1842217 13f79535-47bb-0310-9956-ffa450edef68
2018-09-28 07:42:47 +00:00
PJ Fanning
f4aef7afca [bug-62747] bouncycastle 1.60
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1841394 13f79535-47bb-0310-9956-ffa450edef68
2018-09-19 21:49:55 +00:00
PJ Fanning
c18375a4d0 [bug-62730] include all inner list classes in poi-ooxml-schemas.jar
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1841270 13f79535-47bb-0310-9956-ffa450edef68
2018-09-18 22:09:15 +00:00
Andreas Beeker
6eae655f81 update 3.17 leftovers and provide a new build target to update those in the next release
remove final / beta tags, as we (try to) use semver now

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1840318 13f79535-47bb-0310-9956-ffa450edef68
2018-09-07 19:25:02 +00:00
PJ Fanning
fcd7242389 remove ref to staging repo
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1839423 13f79535-47bb-0310-9956-ffa450edef68
2018-08-28 11:08:15 +00:00
Dominik Stadler
63d904acb2 Set locale provider to JRE,CLDR for tests to have compatible date formatting in JDK 9+
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1839199 13f79535-47bb-0310-9956-ffa450edef68
2018-08-26 11:41:31 +00:00
PJ Fanning
f82d679413 use released version of xmlbeans 3.0.1
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1838918 13f79535-47bb-0310-9956-ffa450edef68
2018-08-24 17:57:06 +00:00
Dominik Stadler
301832620b Exclude some test-suites in build.gradle to not execute tests multiple times
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1838765 13f79535-47bb-0310-9956-ffa450edef68
2018-08-23 20:23:30 +00:00
Dominik Stadler
d351a24e5c Update JaCoCo to 0.8.2 in build.gradle to make it work with JDK 10+
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1838764 13f79535-47bb-0310-9956-ffa450edef68
2018-08-23 20:23:25 +00:00
Dominik Stadler
4663238bb8 Adjust for JDK 11 ea-26 build, need to add jaxb via normal jar dependency now as it was removed from the JDK
Also needed to remove a few uses of Mockito which fail now with certain abstract classes
Update to Mockito 2.21

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1838763 13f79535-47bb-0310-9956-ffa450edef68
2018-08-23 20:23:20 +00:00
Dominik Stadler
ba258c675e Add staging repo in one more place in Gradle build to make compile succeed on a fresh machine
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1838729 13f79535-47bb-0310-9956-ffa450edef68
2018-08-23 13:22:34 +00:00
PJ Fanning
37a3a769fe uptake xmlbeans 3.0.1 (staging version, pre-release)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1838366 13f79535-47bb-0310-9956-ffa450edef68
2018-08-19 09:08:00 +00:00
Tim Allison
99a27862ae 62630 -- upgrad commons-compress
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1838214 13f79535-47bb-0310-9956-ffa450edef68
2018-08-16 18:36:47 +00:00
PJ Fanning
df77071378 upgrade commons-collections4 to 4.2
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1835913 13f79535-47bb-0310-9956-ffa450edef68
2018-07-14 15:49:49 +00:00
Dominik Stadler
0c3e972a71 Gradle: Define japicmp settings only once, but still fails due to removed classes in 4.0.0
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1835185 13f79535-47bb-0310-9956-ffa450edef68
2018-07-05 19:55:12 +00:00
Dominik Stadler
834f34c41d Java 9: Add Automatic-Module-Name in Jars built via Gradle
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1835181 13f79535-47bb-0310-9956-ffa450edef68
2018-07-05 19:53:36 +00:00
Andreas Beeker
7e74865f8c Fix gradle add maven repo again
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1834764 13f79535-47bb-0310-9956-ffa450edef68
2018-06-30 20:40:53 +00:00
Andreas Beeker
6193f895ba Fix gradle ant-junit dependencies when not using the gradle wrapper / update ant version
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1834762 13f79535-47bb-0310-9956-ffa450edef68
2018-06-30 20:36:47 +00:00
PJ Fanning
214ad2a5b5 update xmlbeans repo
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1834639 13f79535-47bb-0310-9956-ffa450edef68
2018-06-28 20:06:24 +00:00
Andreas Beeker
18db483a72 #59268 - Work on providing an updated version of XMLBeans
(imported from https://github.com/apache/poi/pull/113)

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1834165 13f79535-47bb-0310-9956-ffa450edef68
2018-06-22 21:25:00 +00:00
Dominik Stadler
574937ca00 Update Gradle wrapper to 4.6
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1833292 13f79535-47bb-0310-9956-ffa450edef68
2018-06-10 18:54:06 +00:00
PJ Fanning
3581bba521 use spaces as indents
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1833095 13f79535-47bb-0310-9956-ffa450edef68
2018-06-07 05:58:10 +00:00
Andreas Beeker
d8d076b73a #62187 - Compiling with Java 10 fails with ClassCastException / use commons-compress for zipbomb detection
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1832789 13f79535-47bb-0310-9956-ffa450edef68
2018-06-03 22:09:11 +00:00
PJ Fanning
aee50698a4 use xmlunit for xml diffs in unit tests
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1825810 13f79535-47bb-0310-9956-ffa450edef68
2018-03-04 12:24:44 +00:00
Dominik Stadler
316041521c Bug 62042: Adjust gradle build to properly set the locale
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1823596 13f79535-47bb-0310-9956-ffa450edef68
2018-02-08 19:34:22 +00:00
PJ Fanning
4637ffcbca [bug-62038] add mockito based unit test
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1822517 13f79535-47bb-0310-9956-ffa450edef68
2018-01-29 15:21:59 +00:00
PJ Fanning
aca52d2a51 bouncycastle 1.59
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1822285 13f79535-47bb-0310-9956-ffa450edef68
2018-01-26 12:38:49 +00:00
Andreas Beeker
4073f568cd #61939 - Provide schema for AlternateContent - provide new ooxml-schemas-1.4.jar
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1819704 13f79535-47bb-0310-9956-ffa450edef68
2017-12-31 00:01:04 +00:00
PJ Fanning
d99e4ea649 upgrade to commons-codec 1.11
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1815852 13f79535-47bb-0310-9956-ffa450edef68
2017-11-20 20:46:16 +00:00
Dominik Stadler
f770381956 Change version to 4.0.0-SNAPSHOT as discussed on the mailing-list
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1808618 13f79535-47bb-0310-9956-ffa450edef68
2017-09-17 11:07:37 +00:00
Dominik Stadler
276c8c89de Update third party libs to latest versions
Start updating build to Java 8
Set version to 4.0-beta1

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1808472 13f79535-47bb-0310-9956-ffa450edef68
2017-09-15 18:39:18 +00:00
PJ Fanning
5ef2f1636c Numeric Array Formula and Matrix Function [from Bob95132] This closes #69
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1808297 13f79535-47bb-0310-9956-ffa450edef68
2017-09-13 23:54:36 +00:00
Dominik Stadler
ef99b6c6fd Add note that japicmp cannot be upgrade until Gradle 4 is used
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1802631 13f79535-47bb-0310-9956-ffa450edef68
2017-07-21 18:19:17 +00:00
Dominik Stadler
3021f03be9 Add jmh to Sonar-Maven build as well, add comment why we need to stick to 1.15 for now
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1796035 13f79535-47bb-0310-9956-ffa450edef68
2017-05-24 10:07:32 +00:00
Javen O'Neal
5c62492ffb github-54: when adding a picture to an XSSFWorkbook, reduce memory consumption by 100x and increase speed by 10x based on OpenJDK JMH benchmarking. Thanks to Tim Helmstedt! This closes #54.
https://github.com/apache/poi/pull/54

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1795252 13f79535-47bb-0310-9956-ffa450edef68
2017-05-15 23:27:21 +00:00
Dominik Stadler
3e06696ae3 Revert "Add hamcrest-all to Gradle build as well"
This reverts commit e452090d41190820ec7f2591097fb9e63ad6c59c.

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1791587 13f79535-47bb-0310-9956-ffa450edef68
2017-04-16 09:46:54 +00:00
Dominik Stadler
89976adea2 Add hamcrest-all to Gradle build as well
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1791586 13f79535-47bb-0310-9956-ffa450edef68
2017-04-16 09:45:23 +00:00
Dominik Stadler
699ddabcdf Gradle Build: Try with setting baseDir for Sonar-runs, but likely still does not work
Update wrapper to 3.4.1, although we do not store it yet anyway

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1786681 13f79535-47bb-0310-9956-ffa450edef68
2017-03-13 13:20:51 +00:00
Dominik Stadler
69b260f538 Allow to enable Sonar as part of the Gradle build and add Jenkins DSL job to test it
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1786430 13f79535-47bb-0310-9956-ffa450edef68
2017-03-10 20:13:46 +00:00
Javen O'Neal
61d5a268fe target version 3.16-beta3
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1782118 13f79535-47bb-0310-9956-ffa450edef68
2017-02-08 08:24:35 +00:00
Dominik Stadler
1350ad3eb3 Coverage:
* Exclude "examples" from coverage in Jenkins, add some comments
* Fix warning in newer Gradle versions
* Adjust coverage-excludes in build.xml

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1776715 13f79535-47bb-0310-9956-ffa450edef68
2016-12-31 09:43:13 +00:00
Dominik Stadler
de83b46caa Update JaCoCo to 0.7.8 to allow to run it when using JDK 9
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1776623 13f79535-47bb-0310-9956-ffa450edef68
2016-12-30 19:03:44 +00:00
centic
a977e9eaf2 Disable Sonar in Gradle build for now, it requires Java 8, but we should still be able to compile with Java 7
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1776317 13f79535-47bb-0310-9956-ffa450edef68
2016-12-28 19:47:40 +00:00
centic
b49a16e7cc Add sonar-plugin to Gradle build
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1776072 13f79535-47bb-0310-9956-ffa450edef68
2016-12-26 20:47:29 +00:00
Dominik Stadler
db4b73a8c1 commons-collections4 is now also required for the main-jar
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1772149 13f79535-47bb-0310-9956-ffa450edef68
2016-12-01 07:29:08 +00:00
Javen O'Neal
f1b93a79a8 target version 3.16-beta2
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1771073 13f79535-47bb-0310-9956-ffa450edef68
2016-11-24 04:16:15 +00:00
Dominik Stadler
3f5e3d638c Update to japicmp-gradle-plugin:0.1.2 and enable newly added properties
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1765020 13f79535-47bb-0310-9956-ffa450edef68
2016-10-15 07:09:13 +00:00
Dominik Stadler
b51eb49e58 Bug 60134: Add initial tasks for running japicmp to the Gradle build
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1764960 13f79535-47bb-0310-9956-ffa450edef68
2016-10-14 20:46:30 +00:00
Dominik Stadler
9b908a1994 Add initial compile steps with a simple multi-project setup to build.gradle
Adjust some tests to make them run fine in the Gradle build as well

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1763816 13f79535-47bb-0310-9956-ffa450edef68
2016-10-07 19:33:11 +00:00
Javen O'Neal
d709038f24 add gradle build script for building POI with gradle
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1761871 13f79535-47bb-0310-9956-ffa450edef68
2016-09-22 09:21:56 +00:00