You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs-source/src/en/guide/quick-start.md
+2-75Lines changed: 2 additions & 75 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -28,82 +28,9 @@ Use `Android Studio` or `IntelliJ IDEA` to create a new Android project and sele
28
28
29
29
### Integration Dependencies
30
30
31
-
We recommend using Kotlin DSL as the Gradle build script language and [SweetDependency](https://github.com/HighCapable/SweetDependency) to manage dependencies.
31
+
We recommend using Kotlin DSL as the Gradle build script language.
32
32
33
-
#### SweetDependency (Recommended)
34
-
35
-
Add the repositories and dependencies in your project's `SweetDependency` configuration file.
36
-
37
-
> The following example
38
-
39
-
```yaml
40
-
repositories:
41
-
# Must be added when used as an Xposed Module, otherwise optional
42
-
rovo89-xposed-api:
43
-
url: https://api.xposed.info/
44
-
45
-
plugins:
46
-
# Must be added when used as an Xposed Module, otherwise optional
47
-
com.google.devtools.ksp:
48
-
version: +
49
-
...
50
-
51
-
libraries:
52
-
# Must be added when used as an Xposed Module, otherwise optional
53
-
de.robv.android.xposed:
54
-
api:
55
-
version: 82
56
-
repositories:
57
-
rovo89-xposed-api
58
-
com.highcapable.yukihookapi:
59
-
api:
60
-
version: +
61
-
# Must be added when used as an Xposed Module, otherwise optional
62
-
ksp-xposed:
63
-
version-ref: <this>::api
64
-
# YukiHookAPI version 1.3.0 uses KavaRef as core reflection API
65
-
# YukiHookAPI no longer binds its own reflection API, you can start trying to use KavaRef
66
-
com.highcapable.kavaref:
67
-
kavaref-core:
68
-
version: +
69
-
kavaref-extension:
70
-
version: +
71
-
...
72
-
```
73
-
74
-
After adding it, run Gradle Sync and all dependencies will be autowired.
75
-
76
-
Next, deploy plugins in your project's `build.gradle.kts`.
77
-
78
-
> The following example
79
-
80
-
```kotlin
81
-
plugins {
82
-
// Must be added when used as an Xposed Module, otherwise optional
83
-
autowire(libs.plugins.com.google.devtools.ksp)
84
-
// ...
85
-
}
86
-
```
87
-
88
-
Then, deploy dependencies in your project's `build.gradle.kts`.
89
-
90
-
> The following example
91
-
92
-
```kotlin
93
-
dependencies {
94
-
// Basic dependencies
95
-
implementation(com.highcapable.yukihookapi.api)
96
-
// It is recommended to use KavaRef as the core reflection API
0 commit comments