mirror of
https://github.com/HighCapable/YukiHookAPI.git
synced 2025-09-04 09:45:19 +08:00
Update to New Rule
This commit is contained in:
2
.idea/gradle.xml
generated
2
.idea/gradle.xml
generated
@@ -7,6 +7,7 @@
|
|||||||
<option name="testRunner" value="GRADLE" />
|
<option name="testRunner" value="GRADLE" />
|
||||||
<option name="distributionType" value="DEFAULT_WRAPPED" />
|
<option name="distributionType" value="DEFAULT_WRAPPED" />
|
||||||
<option name="externalProjectPath" value="$PROJECT_DIR$" />
|
<option name="externalProjectPath" value="$PROJECT_DIR$" />
|
||||||
|
<option name="gradleJvm" value="Embedded JDK" />
|
||||||
<option name="modules">
|
<option name="modules">
|
||||||
<set>
|
<set>
|
||||||
<option value="$PROJECT_DIR$" />
|
<option value="$PROJECT_DIR$" />
|
||||||
@@ -16,7 +17,6 @@
|
|||||||
<option value="$PROJECT_DIR$/yukihookapi-ksp-xposed" />
|
<option value="$PROJECT_DIR$/yukihookapi-ksp-xposed" />
|
||||||
</set>
|
</set>
|
||||||
</option>
|
</option>
|
||||||
<option name="resolveModulePerSourceSet" value="false" />
|
|
||||||
</GradleProjectSettings>
|
</GradleProjectSettings>
|
||||||
</option>
|
</option>
|
||||||
</component>
|
</component>
|
||||||
|
2
.idea/misc.xml
generated
2
.idea/misc.xml
generated
@@ -10,7 +10,7 @@
|
|||||||
</map>
|
</map>
|
||||||
</option>
|
</option>
|
||||||
</component>
|
</component>
|
||||||
<component name="ProjectRootManager" version="2" languageLevel="JDK_1_8" project-jdk-name="Android Studio default JDK" project-jdk-type="JavaSDK">
|
<component name="ProjectRootManager" version="2" languageLevel="JDK_1_8" project-jdk-name="11" project-jdk-type="JavaSDK">
|
||||||
<output url="file://$PROJECT_DIR$/build/classes" />
|
<output url="file://$PROJECT_DIR$/build/classes" />
|
||||||
</component>
|
</component>
|
||||||
<component name="ProjectType">
|
<component name="ProjectType">
|
||||||
|
@@ -216,7 +216,7 @@ class YukiHookXposedProcessor : SymbolProcessorProvider {
|
|||||||
).apply {
|
).apply {
|
||||||
/** 插入 xposed_init 代码 */
|
/** 插入 xposed_init 代码 */
|
||||||
write(
|
write(
|
||||||
("@file:Suppress(\"EXPERIMENTAL_API_USAGE\")\n" +
|
("@file:Suppress(\"OPT_IN_USAGE\")\n" +
|
||||||
"\n" +
|
"\n" +
|
||||||
"package $packageName\n" +
|
"package $packageName\n" +
|
||||||
"\n" +
|
"\n" +
|
||||||
|
@@ -25,7 +25,7 @@
|
|||||||
*
|
*
|
||||||
* This file is Created by fankes on 2022/2/2.
|
* This file is Created by fankes on 2022/2/2.
|
||||||
*/
|
*/
|
||||||
@file:Suppress("MemberVisibilityCanBePrivate", "unused", "EXPERIMENTAL_API_USAGE")
|
@file:Suppress("MemberVisibilityCanBePrivate", "unused", "OPT_IN_USAGE")
|
||||||
|
|
||||||
package com.highcapable.yukihookapi
|
package com.highcapable.yukihookapi
|
||||||
|
|
||||||
|
@@ -25,7 +25,7 @@
|
|||||||
*
|
*
|
||||||
* This file is Created by fankes on 2022/2/2.
|
* This file is Created by fankes on 2022/2/2.
|
||||||
*/
|
*/
|
||||||
@file:Suppress("EXPERIMENTAL_IS_NOT_ENABLED")
|
@file:Suppress("OPT_IN_IS_NOT_ENABLED")
|
||||||
|
|
||||||
package com.highcapable.yukihookapi.annotation
|
package com.highcapable.yukihookapi.annotation
|
||||||
|
|
||||||
|
@@ -25,7 +25,7 @@
|
|||||||
*
|
*
|
||||||
* This file is Created by fankes on 2022/2/2.
|
* This file is Created by fankes on 2022/2/2.
|
||||||
*/
|
*/
|
||||||
@file:Suppress("EXPERIMENTAL_IS_NOT_ENABLED")
|
@file:Suppress("OPT_IN_IS_NOT_ENABLED")
|
||||||
|
|
||||||
package com.highcapable.yukihookapi.annotation
|
package com.highcapable.yukihookapi.annotation
|
||||||
|
|
||||||
|
@@ -25,7 +25,7 @@
|
|||||||
*
|
*
|
||||||
* This file is Created by fankes on 2022/2/2.
|
* This file is Created by fankes on 2022/2/2.
|
||||||
*/
|
*/
|
||||||
@file:Suppress("EXPERIMENTAL_IS_NOT_ENABLED")
|
@file:Suppress("OPT_IN_IS_NOT_ENABLED")
|
||||||
|
|
||||||
package com.highcapable.yukihookapi.annotation
|
package com.highcapable.yukihookapi.annotation
|
||||||
|
|
||||||
|
@@ -25,7 +25,7 @@
|
|||||||
*
|
*
|
||||||
* This file is Created by fankes on 2022/2/2.
|
* This file is Created by fankes on 2022/2/2.
|
||||||
*/
|
*/
|
||||||
@file:Suppress("MemberVisibilityCanBePrivate", "unused", "EXPERIMENTAL_API_USAGE")
|
@file:Suppress("MemberVisibilityCanBePrivate", "unused", "OPT_IN_USAGE")
|
||||||
|
|
||||||
package com.highcapable.yukihookapi.hook.core
|
package com.highcapable.yukihookapi.hook.core
|
||||||
|
|
||||||
|
@@ -25,7 +25,7 @@
|
|||||||
*
|
*
|
||||||
* This file is Created by fankes on 2022/2/4.
|
* This file is Created by fankes on 2022/2/4.
|
||||||
*/
|
*/
|
||||||
@file:Suppress("unused", "EXPERIMENTAL_API_USAGE", "MemberVisibilityCanBePrivate", "UNCHECKED_CAST")
|
@file:Suppress("unused", "OPT_IN_USAGE", "MemberVisibilityCanBePrivate", "UNCHECKED_CAST")
|
||||||
|
|
||||||
package com.highcapable.yukihookapi.hook.core.finder
|
package com.highcapable.yukihookapi.hook.core.finder
|
||||||
|
|
||||||
|
@@ -25,7 +25,7 @@
|
|||||||
*
|
*
|
||||||
* This file is Created by fankes on 2022/2/4.
|
* This file is Created by fankes on 2022/2/4.
|
||||||
*/
|
*/
|
||||||
@file:Suppress("unused", "UNCHECKED_CAST", "MemberVisibilityCanBePrivate", "EXPERIMENTAL_API_USAGE")
|
@file:Suppress("unused", "UNCHECKED_CAST", "MemberVisibilityCanBePrivate", "OPT_IN_USAGE")
|
||||||
|
|
||||||
package com.highcapable.yukihookapi.hook.core.finder
|
package com.highcapable.yukihookapi.hook.core.finder
|
||||||
|
|
||||||
|
@@ -25,7 +25,7 @@
|
|||||||
*
|
*
|
||||||
* This file is Created by fankes on 2022/2/4.
|
* This file is Created by fankes on 2022/2/4.
|
||||||
*/
|
*/
|
||||||
@file:Suppress("unused", "MemberVisibilityCanBePrivate", "EXPERIMENTAL_API_USAGE", "UNCHECKED_CAST")
|
@file:Suppress("unused", "MemberVisibilityCanBePrivate", "OPT_IN_USAGE", "UNCHECKED_CAST")
|
||||||
|
|
||||||
package com.highcapable.yukihookapi.hook.core.finder
|
package com.highcapable.yukihookapi.hook.core.finder
|
||||||
|
|
||||||
|
@@ -25,7 +25,7 @@
|
|||||||
*
|
*
|
||||||
* This file is Created by fankes on 2022/2/2.
|
* This file is Created by fankes on 2022/2/2.
|
||||||
*/
|
*/
|
||||||
@file:Suppress("unused", "EXPERIMENTAL_API_USAGE")
|
@file:Suppress("unused", "OPT_IN_USAGE")
|
||||||
|
|
||||||
package com.highcapable.yukihookapi.hook.factory
|
package com.highcapable.yukihookapi.hook.factory
|
||||||
|
|
||||||
|
@@ -25,7 +25,7 @@
|
|||||||
*
|
*
|
||||||
* This file is Created by fankes on 2022/2/2.
|
* This file is Created by fankes on 2022/2/2.
|
||||||
*/
|
*/
|
||||||
@file:Suppress("unused", "MemberVisibilityCanBePrivate", "UNCHECKED_CAST", "EXPERIMENTAL_API_USAGE")
|
@file:Suppress("unused", "MemberVisibilityCanBePrivate", "UNCHECKED_CAST", "OPT_IN_USAGE")
|
||||||
|
|
||||||
package com.highcapable.yukihookapi.hook.param
|
package com.highcapable.yukihookapi.hook.param
|
||||||
|
|
||||||
|
@@ -25,7 +25,7 @@
|
|||||||
*
|
*
|
||||||
* This file is Created by fankes on 2022/2/2.
|
* This file is Created by fankes on 2022/2/2.
|
||||||
*/
|
*/
|
||||||
@file:Suppress("unused", "MemberVisibilityCanBePrivate", "EXPERIMENTAL_API_USAGE")
|
@file:Suppress("unused", "MemberVisibilityCanBePrivate", "OPT_IN_USAGE")
|
||||||
|
|
||||||
package com.highcapable.yukihookapi.hook.param
|
package com.highcapable.yukihookapi.hook.param
|
||||||
|
|
||||||
|
@@ -25,7 +25,7 @@
|
|||||||
*
|
*
|
||||||
* This file is Created by fankes on 2022/2/7.
|
* This file is Created by fankes on 2022/2/7.
|
||||||
*/
|
*/
|
||||||
@file:Suppress("unused", "MemberVisibilityCanBePrivate", "EXPERIMENTAL_API_USAGE")
|
@file:Suppress("unused", "MemberVisibilityCanBePrivate", "OPT_IN_USAGE")
|
||||||
|
|
||||||
package com.highcapable.yukihookapi.hook.param.wrapper
|
package com.highcapable.yukihookapi.hook.param.wrapper
|
||||||
|
|
||||||
|
@@ -25,7 +25,7 @@
|
|||||||
*
|
*
|
||||||
* This file is Created by fankes on 2022/2/5.
|
* This file is Created by fankes on 2022/2/5.
|
||||||
*/
|
*/
|
||||||
@file:Suppress("EXPERIMENTAL_API_USAGE")
|
@file:Suppress("OPT_IN_USAGE")
|
||||||
|
|
||||||
package com.highcapable.yukihookapi.hook.utils
|
package com.highcapable.yukihookapi.hook.utils
|
||||||
|
|
||||||
|
@@ -26,7 +26,7 @@
|
|||||||
* This file is Created by fankes on 2022/2/8.
|
* This file is Created by fankes on 2022/2/8.
|
||||||
*/
|
*/
|
||||||
@file:Suppress(
|
@file:Suppress(
|
||||||
"EXPERIMENTAL_API_USAGE", "SetWorldReadable", "CommitPrefEdits",
|
"OPT_IN_USAGE", "SetWorldReadable", "CommitPrefEdits",
|
||||||
"DEPRECATION", "WorldReadableFiles", "unused"
|
"DEPRECATION", "WorldReadableFiles", "unused"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user