mirror of
https://github.com/HighCapable/YukiHookAPI.git
synced 2025-09-04 01:35:17 +08:00
refactor: use magic to hide lint on non-public, inline api
- remove all YukiGenerateApi, YukiPrivateApi and @PublishedApi
This commit is contained in:
@@ -25,8 +25,6 @@ android {
|
||||
kotlinOptions {
|
||||
jvmTarget = "17"
|
||||
freeCompilerArgs = listOf(
|
||||
"-opt-in=${property.project.yukihookapi.core.kotlin.optIn.yukiPrivateApi}",
|
||||
"-opt-in=${property.project.yukihookapi.core.kotlin.optIn.yukiGenerateApi}",
|
||||
"-Xno-param-assertions",
|
||||
"-Xno-call-assertions",
|
||||
"-Xno-receiver-assertions"
|
||||
@@ -35,17 +33,6 @@ android {
|
||||
lint { checkReleaseBuilds = false }
|
||||
}
|
||||
|
||||
kotlin {
|
||||
sourceSets {
|
||||
all {
|
||||
languageSettings {
|
||||
optIn(property.project.yukihookapi.core.kotlin.optIn.yukiPrivateApi)
|
||||
optIn(property.project.yukihookapi.core.kotlin.optIn.yukiGenerateApi)
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
dependencies {
|
||||
compileOnly(de.robv.android.xposed.api)
|
||||
compileOnly(projects.yukihookapiStub)
|
||||
|
Reference in New Issue
Block a user