File tree Expand file tree Collapse file tree 4 files changed +4
-74
lines changed
Expand file tree Collapse file tree 4 files changed +4
-74
lines changed Original file line number Diff line number Diff line change @@ -18,25 +18,7 @@ project with integrated Kotlin environment dependencies.
1818The dependencies of ` PanguText ` are published in ** Maven Central** and our public repository.
1919You 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
4123Configure repositories in your project's ` build.gradle.kts ` .
4224
Original file line number Diff line number Diff line change @@ -12,24 +12,7 @@ This is the core dependency for the Android platform. When using `PanguText` on
1212
1313You can add this module to your project using the following method.
1414
15- ### SweetDependency (Recommended)
16-
17- Add dependency in your project's ` SweetDependency ` configuration file.
18-
19- ``` yaml
20- libraries :
21- com.highcapable.pangutext :
22- pangutext-android :
23- version : +
24- ` ` `
25-
26- Configure dependency in your project's ` build.gradle.kts`.
27-
28- ` ` ` kotlin
29- implementation(com.highcapable.pangutext.pangutext.android)
30- ` ` `
31-
32- # ## Version Catalog
15+ ### Version Catalog (Recommended)
3316
3417Add dependency in your project's ` gradle/libs.versions.toml ` .
3518
Original file line number Diff line number Diff line change 1616
1717` PanguText ` 的依赖发布在 ** 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
Original file line number Diff line number Diff line change 1212
1313你可以使用如下方式将此模块添加到你的项目中。
1414
15- ### SweetDependency (推荐)
16-
17- 在你的项目 ` SweetDependency ` 配置文件中添加依赖。
18-
19- ``` yaml
20- libraries :
21- com.highcapable.pangutext :
22- pangutext-android :
23- version : +
24- ` ` `
25-
26- 在你的项目 ` build.gradle.kts` 中配置依赖。
27-
28- ` ` ` kotlin
29- implementation(com.highcapable.pangutext.pangutext.android)
30- ` ` `
31-
32- # ## Version Catalog
15+ ### Version Catalog (推荐)
3316
3417在你的项目 ` gradle/libs.versions.toml ` 中添加依赖。
3518
You can’t perform that action at this time.
0 commit comments