Skip to content

Commit

Permalink
TKSS-152: Bump version to 1.0.6
Browse files Browse the repository at this point in the history
  • Loading branch information
johnshajiang committed Feb 24, 2023
1 parent 0000caa commit 5ae41cc
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 13 deletions.
12 changes: 6 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,19 +28,19 @@ repositories {
}
dependencies {
implementation("com.tencent.kona:kona-crypto:1.0.5")
implementation("com.tencent.kona:kona-pkix:1.0.5")
implementation("com.tencent.kona:kona-ssl:1.0.5")
implementation("com.tencent.kona:kona-provider:1.0.5")
implementation("com.tencent.kona:kona-crypto:1.0.6")
implementation("com.tencent.kona:kona-pkix:1.0.6")
implementation("com.tencent.kona:kona-ssl:1.0.6")
implementation("com.tencent.kona:kona-provider:1.0.6")
}
```

Note that, it is unnecessary to put all the providers into the classpath. Please declare the dependencies as you need. For example, if only need the ShangMi crypto algorithms and want to use provider `Kona`, the dependency declaration may look like the followings,

```
dependencies {
implementation("com.tencent.kona:kona-crypto:1.0.5")
implementation("com.tencent.kona:kona-provider:1.0.5")
implementation("com.tencent.kona:kona-crypto:1.0.6")
implementation("com.tencent.kona:kona-provider:1.0.6")
}
```

Expand Down
12 changes: 6 additions & 6 deletions README_cn.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,19 +28,19 @@ repositories {
}
dependencies {
implementation("com.tencent.kona:kona-crypto:1.0.5")
implementation("com.tencent.kona:kona-pkix:1.0.5")
implementation("com.tencent.kona:kona-ssl:1.0.5")
implementation("com.tencent.kona:kona-provider:1.0.5")
implementation("com.tencent.kona:kona-crypto:1.0.6")
implementation("com.tencent.kona:kona-pkix:1.0.6")
implementation("com.tencent.kona:kona-ssl:1.0.6")
implementation("com.tencent.kona:kona-provider:1.0.6")
}
```

注意,并不一定要将所有的Provider都加到类路径中,请根据实际需求去声明依赖。例如,只需要使用国密的基础算法,且想使用Provider名称`Kona`时,那么依赖声明可能就像下面这样,

```
dependencies {
implementation("com.tencent.kona:kona-crypto:1.0.5")
implementation("com.tencent.kona:kona-provider:1.0.5")
implementation("com.tencent.kona:kona-crypto:1.0.6")
implementation("com.tencent.kona:kona-provider:1.0.6")
}
```

Expand Down
2 changes: 1 addition & 1 deletion build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,5 @@ allprojects {
}

group = "com.tencent.kona"
version = "1.0.6-SNAPSHOT"
version = "1.0.6"
}

0 comments on commit 5ae41cc

Please sign in to comment.