Skip to content

Commit

Permalink
升级依赖库版本号
Browse files Browse the repository at this point in the history
  • Loading branch information
neilyhe committed Oct 16, 2024
1 parent cc4dd53 commit 7153832
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 10 deletions.
4 changes: 2 additions & 2 deletions explorer/explorer-device-java/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -145,5 +145,5 @@ signing {
}
}

sourceCompatibility = "7"
targetCompatibility = "7"
sourceCompatibility = "8"
targetCompatibility = "8"
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,8 @@ This error is caused by the version incompatibility between the two libraries (`
```
dependencies {
...
implementation 'org.bouncycastle:bcprov-jdk15on:1.57'
implementation 'org.bouncycastle:bcpkix-jdk15on:1.57'
implementation 'org.bouncycastle:bcprov-jdk15on:1.65'
implementation 'org.bouncycastle:bcpkix-jdk15on:1.65'
implementation ('com.tencent.iot.hub:hub-device-android-core:x.x.x') {// `x.x.x` is the version number of the imported SDK
exclude group: 'org.bouncycastle'
}
Expand Down
4 changes: 2 additions & 2 deletions hub/hub-device-android/docs/zh/常见问题android.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,8 @@ onConnectionLost回调已断开连接(32109),表示设备已断开连接
```
dependencies {
...
implementation 'org.bouncycastle:bcprov-jdk15on:1.57'
implementation 'org.bouncycastle:bcpkix-jdk15on:1.57'
implementation 'org.bouncycastle:bcprov-jdk15on:1.65'
implementation 'org.bouncycastle:bcpkix-jdk15on:1.65'
implementation ('com.tencent.iot.hub:hub-device-android-core:x.x.x') {//x.x.x为引入sdk的版本号
exclude group: 'org.bouncycastle'
}
Expand Down
8 changes: 4 additions & 4 deletions hub/hub-device-java/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -145,8 +145,8 @@ dependencies {
api "org.eclipse.paho:org.eclipse.paho.client.mqttv3:${rootProject.ext.mqttJavaSdkVer}"
api "com.squareup.okhttp3:okhttp:3.12.2"
api 'org.json:json:20240303'
api 'org.bouncycastle:bcprov-jdk15on:1.57'
api 'org.bouncycastle:bcpkix-jdk15on:1.57'
api 'org.bouncycastle:bcprov-jdk15on:1.65'
api 'org.bouncycastle:bcpkix-jdk15on:1.65'
//WebSocket
api 'org.java-websocket:Java-WebSocket:1.5.2'
testImplementation 'junit:junit:4.13'
Expand All @@ -158,8 +158,8 @@ signing {
}
}

sourceCompatibility = "7"
targetCompatibility = "7"
sourceCompatibility = "8"
targetCompatibility = "8"

task clearLastestJavadoc(type: Delete) {
doFirst {
Expand Down

0 comments on commit 7153832

Please sign in to comment.