AndResGuard
AndResGuard copied to clipboard
Incompatibility with gradle version 7.0
Hi, when I run andresguard in Gradle v7.0, it doesn't work. It seems that something about annotations has been changed .
This is the error :
Some problems were found with the configuration of task ':app:resguardRelease' (type 'AndResGuardTask').
- Type 'com.tencent.gradle.AndResGuardTask' property 'android' is missing an input or output annotation.
Can you make it compatible, please? Thank you.
+1
also happend to me in Gradle v7.0
- What went wrong:
Some problems were found with the configuration of task ':app:resguardGoogleDebug' (type 'AndResGuardTask').
-
Type 'com.tencent.gradle.AndResGuardTask' property 'android' is missing an input or output annotation.
Reason: A property without annotation isn't considered during up-to-date checking.
Possible solutions:
- Add an input or output annotation.
- Mark it as @Internal.
-
通过搜索后,看起来在在一些其他的项目也有人遇到了这个问题,这个是相关连接:https://github.com/gatling/gatling/issues/4068
对这个错误的改动在这里: https://github.com/gatling/gatling-gradle-plugin/commit/a86f08f5ee9db18cebdc09c6bf77a6bb182470c4?branch=a86f08f5ee9db18cebdc09c6bf77a6bb182470c4&diff=split
希望能够尽快适配
+1 希望能尽快适配
修改了gradle7.0+的版本 https://github.com/Leon406/AndResGuard
+1