Skip to content

Commit 525d716

Browse files
docs: update Gradle dependencies syntax (#105)
1 parent a136832 commit 525d716

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -113,8 +113,8 @@ Add repositories in your project `build.gradle.kts`.
113113
repositories {
114114
google()
115115
mavenCentral()
116-
// Must be added when used as an Xposed Module, otherwise optional
117-
maven { url("https://api.xposed.info/") }
116+
// Must be added when used as an Xposed Module, otherwise optional
117+
maven("https://api.xposed.info/")
118118
}
119119
```
120120

@@ -185,7 +185,7 @@ repositories {
185185
google()
186186
mavenCentral()
187187
// Must be added when used as an Xposed Module, otherwise optional
188-
maven { url("https://api.xposed.info/") }
188+
maven("https://api.xposed.info/")
189189
}
190190
```
191191

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ repositories {
114114
google()
115115
mavenCentral()
116116
// 作为 Xposed 模块使用务必添加,其它情况可选
117-
maven { url("https://api.xposed.info/") }
117+
maven("https://api.xposed.info/")
118118
}
119119
```
120120

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

0 commit comments

Comments
 (0)