diff --git a/.github/workflows/build-and-test.yml b/.github/workflows/build-and-test.yml index c471f7b..11b4e8d 100644 --- a/.github/workflows/build-and-test.yml +++ b/.github/workflows/build-and-test.yml @@ -15,7 +15,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - java: [8, 11, 17] + java: [8, 11, 17, 21] steps: # checkout - uses: actions/checkout@v2 diff --git a/README.md b/README.md index 22dfa1a..3ee6b74 100644 --- a/README.md +++ b/README.md @@ -9,6 +9,7 @@ ![Java 8](https://img.shields.io/badge/Java%208-Tested-blueviolet) ![Java 11](https://img.shields.io/badge/Java%2011-Tested-blueviolet) ![Java 17](https://img.shields.io/badge/Java%2017-Tested-blueviolet) +![Java 21](https://img.shields.io/badge/Java%2021-Tested-blueviolet) [![Known Vulnerabilities](https://snyk.io/test/github/firegloves/mempoi/badge.svg)](https://snyk.io/test/github/firegloves/mempoi) ![No ORM - Super Fast](https://img.shields.io/badge/No%20ORM-SuperFast-orange) diff --git a/build.gradle b/build.gradle index a2683ea..19317ca 100644 --- a/build.gradle +++ b/build.gradle @@ -12,11 +12,11 @@ version '1.10.0' sourceCompatibility = 1.8 -def poiVersion = '5.2.2' -def comonsLang3Version = '3.12.0' -def comonsCollectionsVersion = '4.4' +def poiVersion = '5.2.5' +def comonsLang3Version = '3.14.0' def comonsMath3Version = '3.6.1' -def slf4jVersion = '1.7.36' +def comonsCollectionsVersion = '4.4' +def slf4jVersion = '2.0.13' repositories { mavenCentral() @@ -25,7 +25,11 @@ repositories { dependencies { // https://mvnrepository.com/artifact/org.apache.poi/poi-ooxml - implementation group: 'org.apache.poi', name: 'poi-ooxml', version: poiVersion + implementation (group: 'org.apache.poi', name: 'poi-ooxml', version: poiVersion) { + exclude group: 'org.apache.commons', module: 'commons-compress' + } + // TODO remove when poi-ooxml will update its dependency + implementation group: 'org.apache.commons', name: 'commons-compress', version: '1.26.2' // https://mvnrepository.com/artifact/org.apache.commons/commons-lang3 implementation group: 'org.apache.commons', name: 'commons-lang3', version: comonsLang3Version diff --git a/docker_data/Dockerfile b/docker_data/Dockerfile index cd9ea81..702d138 100644 --- a/docker_data/Dockerfile +++ b/docker_data/Dockerfile @@ -1,4 +1,4 @@ -FROM mysql:8.0.34-debian +FROM mysql:8.0.37-debian ENV MYSQL_DATABASE=mempoi \ MYSQL_ROOT_PASSWORD=mempassword