File tree Expand file tree Collapse file tree 2 files changed +40
-0
lines changed
Expand file tree Collapse file tree 2 files changed +40
-0
lines changed Original file line number Diff line number Diff line change @@ -29,6 +29,26 @@ Configure dependency in your project `build.gradle.kts`.
2929implementation(com.highcapable.pangutext.pangutext.android)
3030` ` `
3131
32+ # ## Version Catalog
33+
34+ Add dependency in your project's `gradle/libs.versions.toml`.
35+
36+ ` ` ` toml
37+ [versions]
38+ pangutext-android = "<version>"
39+
40+ [libraries]
41+ pangutext-android = { module = "com.highcapable.pangutext:pangutext-android", version.ref = "pangutext-android" }
42+ ` ` `
43+
44+ Configure dependency in your project `build.gradle.kts`.
45+
46+ ` ` ` kotlin
47+ implementation(libs.pangutext.android)
48+ ` ` `
49+
50+ Please change `<version>` to the version displayed at the top of this document.
51+
3252# ## Traditional Method
3353
3454Configure dependency in your project `build.gradle.kts`.
Original file line number Diff line number Diff line change @@ -29,6 +29,26 @@ libraries:
2929implementation(com.highcapable.pangutext.pangutext.android)
3030` ` `
3131
32+ # ## Version Catalog
33+
34+ 在你的项目 `gradle/libs.versions.toml` 中添加依赖。
35+
36+ ` ` ` toml
37+ [versions]
38+ pangutext-android = "<version>"
39+
40+ [libraries]
41+ pangutext-android = { module = "com.highcapable.pangutext:pangutext-android", version.ref = "pangutext-android" }
42+ ` ` `
43+
44+ 在你的项目 `build.gradle.kts` 中配置依赖。
45+
46+ ` ` ` kotlin
47+ implementation(libs.pangutext.android)
48+ ` ` `
49+
50+ 请将 `<version>` 修改为此文档顶部显示的版本。
51+
3252# ## 传统方式
3353
3454在你的项目 `build.gradle.kts` 中配置依赖。
You can’t perform that action at this time.
0 commit comments