docs: update Gradle dependencies syntax (#105)

This commit is contained in:
sorrw.
2025-07-18 19:30:12 +08:00
committed by GitHub
parent a136832e77
commit 525d716256
2 changed files with 5 additions and 5 deletions

View File

@@ -113,8 +113,8 @@ Add repositories in your project `build.gradle.kts`.
repositories { repositories {
google() google()
mavenCentral() mavenCentral()
// Must be added when used as an Xposed Module, otherwise optional // Must be added when used as an Xposed Module, otherwise optional
maven { url("https://api.xposed.info/") } maven("https://api.xposed.info/")
} }
``` ```
@@ -185,7 +185,7 @@ repositories {
google() google()
mavenCentral() mavenCentral()
// Must be added when used as an Xposed Module, otherwise optional // Must be added when used as an Xposed Module, otherwise optional
maven { url("https://api.xposed.info/") } maven("https://api.xposed.info/")
} }
``` ```

View File

@@ -114,7 +114,7 @@ repositories {
google() google()
mavenCentral() mavenCentral()
// 作为 Xposed 模块使用务必添加,其它情况可选 // 作为 Xposed 模块使用务必添加,其它情况可选
maven { url("https://api.xposed.info/") } maven("https://api.xposed.info/")
} }
``` ```
@@ -185,7 +185,7 @@ repositories {
google() google()
mavenCentral() mavenCentral()
// 作为 Xposed 模块使用务必添加,其它情况可选 // 作为 Xposed 模块使用务必添加,其它情况可选
maven { url("https://api.xposed.info/") } maven("https://api.xposed.info/")
} }
``` ```