Skip to content

Commit bfabdc8

Browse files
committed
docs: update document suggestion
1 parent fe4137e commit bfabdc8

File tree

6 files changed

+6
-110
lines changed

6 files changed

+6
-110
lines changed

docs-source/src/en/guide/quick-start.md

Lines changed: 1 addition & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -18,25 +18,7 @@ project with integrated Kotlin environment dependencies.
1818
The dependencies of `KavaRef` are published in **Maven Central** and our public repository,
1919
you can use the following method to configure repositories.
2020

21-
We recommend using Kotlin DSL as the Gradle build script language and [SweetDependency](https://github.com/HighCapable/SweetDependency)
22-
to manage dependencies.
23-
24-
#### SweetDependency (Recommended)
25-
26-
Configure repositories in your project's `SweetDependency` configuration file.
27-
28-
```yaml
29-
repositories:
30-
google:
31-
maven-central:
32-
# (Optional) You can add this URL to use our public repository
33-
# When Sonatype-OSS fails and cannot publish dependencies, this repository is added as a backup
34-
# For details, please visit: https://github.com/HighCapable/maven-repository
35-
highcapable-maven-releases:
36-
url: https://raw.githubusercontent.com/HighCapable/maven-repository/main/repository/releases
37-
```
38-
39-
#### Traditional Method
21+
We recommend using Kotlin DSL as the Gradle build script language.
4022

4123
Configure repositories in your project's `build.gradle.kts`.
4224

docs-source/src/en/library/kavaref-core.md

Lines changed: 1 addition & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -10,24 +10,7 @@ This is the core dependency of KavaRef, and you need to introduce this module to
1010

1111
You can add this module to your project using the following method.
1212

13-
### SweetDependency (Recommended)
14-
15-
Add dependency in your project's `SweetDependency` configuration file.
16-
17-
```yaml
18-
libraries:
19-
com.highcapable.kavaref:
20-
kavaref-core:
21-
version: +
22-
```
23-
24-
Configure dependency in your project's `build.gradle.kts`.
25-
26-
```kotlin
27-
implementation(com.highcapable.kavaref.kavaref.core)
28-
```
29-
30-
### Version Catalog
13+
### Version Catalog (Recommended)
3114

3215
Add dependency in your project's `gradle/libs.versions.toml`.
3316

docs-source/src/en/library/kavaref-extension.md

Lines changed: 1 addition & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -10,24 +10,7 @@ This is an extended dependency for KavaRef-related features.
1010

1111
You can add this module to your project using the following method.
1212

13-
### SweetDependency (Recommended)
14-
15-
Add dependency in your project's `SweetDependency` configuration file.
16-
17-
```yaml
18-
libraries:
19-
com.highcapable.kavaref:
20-
kavaref-extension:
21-
version: +
22-
```
23-
24-
Configure dependency in your project's `build.gradle.kts`.
25-
26-
```kotlin
27-
implementation(com.highcapable.kavaref.kavaref.extension)
28-
```
29-
30-
### Version Catalog
13+
### Version Catalog (Recommended)
3114

3215
Add dependency in your project's `gradle/libs.versions.toml`.
3316

docs-source/src/zh-cn/guide/quick-start.md

Lines changed: 1 addition & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -16,25 +16,7 @@
1616

1717
`KavaRef` 的依赖发布在 **Maven Central** 和我们的公共存储库中,你可以使用如下方式配置存储库。
1818

19-
我们推荐使用 Kotlin DSL 作为 Gradle 构建脚本语言并推荐使用 [SweetDependency](https://github.com/HighCapable/SweetDependency) 来管理依赖。
20-
21-
#### SweetDependency (推荐)
22-
23-
在你的项目 `SweetDependency` 配置文件中配置存储库。
24-
25-
```yaml
26-
repositories:
27-
google:
28-
maven-central:
29-
# (可选) 你可以添加此 URL 以使用我们的公共存储库
30-
# 当 Sonatype-OSS 发生故障无法发布依赖时,此存储库作为备选进行添加
31-
# 详情请前往:https://github.com/HighCapable/maven-repository
32-
highcapable-maven-releases:
33-
# 中国大陆用户请将下方的 "raw.githubusercontent.com" 修改为 "raw.gitmirror.com"
34-
url: https://raw.githubusercontent.com/HighCapable/maven-repository/main/repository/releases
35-
```
36-
37-
#### 传统方式
19+
我们推荐使用 Kotlin DSL 作为 Gradle 构建脚本语言。
3820

3921
在你的项目 `build.gradle.kts` 中配置存储库。
4022

docs-source/src/zh-cn/library/kavaref-core.md

Lines changed: 1 addition & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -10,24 +10,7 @@
1010

1111
你可以使用以下方式将此模块添加到你的项目中。
1212

13-
### SweetDependency (推荐)
14-
15-
在你的项目 `SweetDependency` 配置文件中添加依赖。
16-
17-
```yaml
18-
libraries:
19-
com.highcapable.kavaref:
20-
kavaref-core:
21-
version: +
22-
```
23-
24-
在你的项目 `build.gradle.kts` 中配置依赖。
25-
26-
```kotlin
27-
implementation(com.highcapable.kavaref.kavaref.core)
28-
```
29-
30-
### Version Catalog
13+
### Version Catalog (推荐)
3114

3215
在你的项目 `gradle/libs.versions.toml` 中添加依赖。
3316

docs-source/src/zh-cn/library/kavaref-extension.md

Lines changed: 1 addition & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -10,24 +10,7 @@
1010

1111
你可以使用如下方式将此模块添加到你的项目中。
1212

13-
### SweetDependency (推荐)
14-
15-
在你的项目 `SweetDependency` 配置文件中添加依赖。
16-
17-
```yaml
18-
libraries:
19-
com.highcapable.kavaref:
20-
kavaref-extension:
21-
version: +
22-
```
23-
24-
在你的项目 `build.gradle.kts` 中配置依赖。
25-
26-
```kotlin
27-
implementation(com.highcapable.kavaref.kavaref.extension)
28-
```
29-
30-
### Version Catalog
13+
### Version Catalog (推荐)
3114

3215
在你的项目 `gradle/libs.versions.toml` 中添加依赖。
3316

0 commit comments

Comments
 (0)