import{_ as i,r as l,o as t,c as r,a as e,b as a,e as o,d as n}from"./app.3cb5b3a5.js";const c={},d=o(`
Integrate
YukiReflection
into your project.
Windows 7 and above / macOS 10.14 and above / Linux distributions (Arch/Debian)
Android Studio 2021.1 and above
IntelliJ IDEA 2021.1 and above
Kotlin 1.7.0 and above
Android Gradle Plugin 7.0 and above
Gradle 7.0 and above
JVM 11 and above
The project needs to be created using Android Studio
or IntelliJ IDEA
and the type is an Android project and the Kotlin
environment dependency has been integrated.
(Optional) Add dependencies to your project build.gradle
.
The following example
repositories {
google()
mavenCentral()
// MavenCentral has a 2-hour cache, if you cannot integrate the latest version, please add this address
maven { url "https://s01.oss.sonatype.org/content/repositories/releases" }
}
Add dependencies to your app build.gradle
.
The following example
dependencies {
// Base dependencies
implementation 'com.highcapable.yukireflection:api:<yuki-version>'
}
Please change <yuki-version> to the latest version from here.
`,14),p={class:"custom-container danger"},u=e("p",{class:"custom-container-title"},"Pay Attention",-1),v=n("If your project is currently using "),h={href:"https://github.com/fankes/YukiHookAPI",target:"_blank",rel:"noopener noreferrer"},b=n("YukiHookAPI"),m=n(", please do not repeatedly integrate "),y=e("strong",null,"YukiReflection",-1),g=n(", because "),A=e("strong",null,"YukiHookAPI",-1),_=n(" already contains the functions and exists for related functional changes and repeated integration will cause functional conflicts and cause exceptions."),k=n("At this time, you should go to the "),f={href:"https://fankes.github.io/YukiHookAPI/en/",target:"_blank",rel:"noopener noreferrer"},C=n("documentation"),D=n(" of "),B=e("strong",null,"YukiHookAPI",-1),q=n(" to view the corresponding tutorial."),x=o(`Modify the Kotlin
Jvm version to 11 and above in your app build.gradle
.
The following example
android {
compileOptions {
sourceCompatibility JavaVersion.VERSION_11
targetCompatibility JavaVersion.VERSION_11
}
kotlinOptions {
jvmTarget = '11'
}
}