Skip to content

Commit

Permalink
TKSS-172: Bump version to 1.0.7
Browse files Browse the repository at this point in the history
  • Loading branch information
johnshajiang committed Mar 7, 2023
1 parent dd315b6 commit b6f5ec6
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 @@ -33,19 +33,19 @@ repositories {
}
dependencies {
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")
implementation("com.tencent.kona:kona-crypto:1.0.7")
implementation("com.tencent.kona:kona-pkix:1.0.7")
implementation("com.tencent.kona:kona-ssl:1.0.7")
implementation("com.tencent.kona:kona-provider:1.0.7")
}
```

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.6")
implementation("com.tencent.kona:kona-provider:1.0.6")
implementation("com.tencent.kona:kona-crypto:1.0.7")
implementation("com.tencent.kona:kona-provider:1.0.7")
}
```

Expand Down
12 changes: 6 additions & 6 deletions README_cn.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,19 +33,19 @@ repositories {
}
dependencies {
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")
implementation("com.tencent.kona:kona-crypto:1.0.7")
implementation("com.tencent.kona:kona-pkix:1.0.7")
implementation("com.tencent.kona:kona-ssl:1.0.7")
implementation("com.tencent.kona:kona-provider:1.0.7")
}
```

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

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

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.7-SNAPSHOT"
version = "1.0.7"
}

0 comments on commit b6f5ec6

Please sign in to comment.