Fix old Kotlin APIs EXPERIMENTAL warning

This commit is contained in:
2022-03-18 14:32:42 +08:00
parent 20ba97e249
commit 80421e9658

View File

@@ -216,7 +216,7 @@ class YukiHookXposedProcessor : SymbolProcessorProvider {
).apply {
/** 插入 xposed_init 代码 */
write(
("@file:Suppress(\"OPT_IN_USAGE\")\n" +
("@file:Suppress(\"OPT_IN_USAGE\", \"EXPERIMENTAL_API_USAGE\")\n" +
"\n" +
"package $packageName\n" +
"\n" +