Skip to content

Commit

Permalink
GH-287 update bouncy castle to jdk18 - 1.76.
Browse files Browse the repository at this point in the history
  • Loading branch information
Patrick Corless committed Aug 1, 2023
1 parent 4902d06 commit 8306555
Show file tree
Hide file tree
Showing 7 changed files with 12 additions and 14 deletions.
4 changes: 2 additions & 2 deletions core/core-awt/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ repositories {

dependencies {
// signature validation.
implementation 'org.bouncycastle:bcprov-ext-jdk15on:' + "${BOUNCY_VERSION}"
implementation 'org.bouncycastle:bcpkix-jdk15on:' + "${BOUNCY_VERSION}"
implementation 'org.bouncycastle:bcprov-ext-jdk18on:' + "${BOUNCY_VERSION}"
implementation 'org.bouncycastle:bcpkix-jdk18on:' + "${BOUNCY_VERSION}"
// tiff, jpeg2000 and jbig decoding
implementation 'com.twelvemonkeys.imageio:imageio-tiff:' + "${MONKEY_VERSION}"
implementation 'org.apache.pdfbox:jbig2-imageio:' + "${JBIG2_VERSION}"
Expand Down
4 changes: 2 additions & 2 deletions core/core-awt/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -41,12 +41,12 @@
<!-- Bouncy castle is need for building the core bundles as well as digital signature support -->
<dependency>
<groupId>org.bouncycastle</groupId>
<artifactId>bcprov-ext-jdk15on</artifactId>
<artifactId>bcprov-ext-jdk18on</artifactId>
</dependency>

<dependency>
<groupId>org.bouncycastle</groupId>
<artifactId>bcpkix-jdk15on</artifactId>
<artifactId>bcpkix-jdk18on</artifactId>
</dependency>

<dependency>
Expand Down
4 changes: 2 additions & 2 deletions core/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -23,13 +23,13 @@
<!-- Bouncy castle is need for building the core bundles as well as digital signature support -->
<dependency>
<groupId>org.bouncycastle</groupId>
<artifactId>bcprov-ext-jdk15on</artifactId>
<artifactId>bcprov-ext-jdk18on</artifactId>
<version>${bouncy.version}</version>
</dependency>

<dependency>
<groupId>org.bouncycastle</groupId>
<artifactId>bcpkix-jdk15on</artifactId>
<artifactId>bcpkix-jdk18on</artifactId>
<version>${bouncy.version}</version>
</dependency>

Expand Down
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ PRODUCT=ICEpdf
VERSION=7.2.0-SNAPSHOT
RELEASE_TYPE=
# dependencies versions
BOUNCY_VERSION=1.70
BOUNCY_VERSION=1.76
JAI_VERSION=1.4.0
MONKEY_VERSION=3.9.4
JBIG2_VERSION=3.0.4
Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<maven.compiler.source>11</maven.compiler.source>
<maven.compiler.target>11</maven.compiler.target>
<bouncy.version>1.70</bouncy.version>
<bouncy.version>1.76</bouncy.version>
<twelve-monkey.version>3.9.4</twelve-monkey.version>
<jai-imageio.version>1.4.0</jai-imageio.version>
<jbig2.version>3.0.4</jbig2.version>
Expand Down
5 changes: 2 additions & 3 deletions qa/viewer-jfx/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -59,9 +59,8 @@ dependencies {
implementation group: 'org.apache.commons', name: 'commons-io', version: '1.3.2'
implementation group: 'junit', name: 'junit', version: '4.13.1'
// signature validation.
implementation 'org.bouncycastle:bcprov-jdk15on:' + "${BOUNCY_VERSION}"
implementation 'org.bouncycastle:bcprov-ext-jdk15on:' + "${BOUNCY_VERSION}"
implementation 'org.bouncycastle:bcpkix-jdk15on:' + "${BOUNCY_VERSION}"
implementation 'org.bouncycastle:bcprov-ext-jdk18on:' + "${BOUNCY_VERSION}"
implementation 'org.bouncycastle:bcpkix-jdk18on:' + "${BOUNCY_VERSION}"
// tiff, jpeg2000 and jbig decoding
implementation 'com.twelvemonkeys.imageio:imageio-tiff:' + "${MONKEY_VERSION}"
implementation 'com.github.jai-imageio:jai-imageio-jpeg2000:' + "${JAI_VERSION}"
Expand Down
5 changes: 2 additions & 3 deletions viewer/viewer-awt/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,8 @@ repositories {
dependencies {
implementation project(':core:core-awt')
// signature validation.
implementation 'org.bouncycastle:bcprov-jdk15on:' + "${BOUNCY_VERSION}"
implementation 'org.bouncycastle:bcprov-ext-jdk15on:' + "${BOUNCY_VERSION}"
implementation 'org.bouncycastle:bcpkix-jdk15on:' + "${BOUNCY_VERSION}"
implementation 'org.bouncycastle:bcprov-ext-jdk18on:' + "${BOUNCY_VERSION}"
implementation 'org.bouncycastle:bcpkix-jdk18on:' + "${BOUNCY_VERSION}"
}

// generatePomFileForViewerJarPublication
Expand Down

0 comments on commit 8306555

Please sign in to comment.