Skip to content

Commit

Permalink
[serving] Fix selfsign certificate issue for JDK 15+ (deepjavalibrary…
Browse files Browse the repository at this point in the history
  • Loading branch information
frankfliu authored Jun 8, 2022
1 parent 3328c8d commit 6fd45a8
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@ distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-7.4.1-bin.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-7.4.2-bin.zip
4 changes: 4 additions & 0 deletions serving/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,10 @@ dependencies {
runtimeOnly "ai.djl.tensorflow:tensorflow-model-zoo"
runtimeOnly "ai.djl.pytorch:pytorch-model-zoo"
runtimeOnly "ai.djl.tensorrt:tensorrt"
if (JavaVersion.current() >= JavaVersion.VERSION_15) {
testRuntimeOnly "org.bouncycastle:bcpkix-jdk15on:1.70"
testRuntimeOnly "org.bouncycastle:bcprov-jdk15on:1.70"
}
runtimeOnly project(":engines:python")

testImplementation("org.testng:testng:${testng_version}") {
Expand Down

0 comments on commit 6fd45a8

Please sign in to comment.