AndResGuard icon indicating copy to clipboard operation
AndResGuard copied to clipboard

Incompatibility with gradle version 7.0

Open mohammadreza-torkaman opened this issue 3 years ago • 6 comments

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.

mohammadreza-torkaman avatar Aug 02 '21 07:08 mohammadreza-torkaman

+1

zhouzhuo810 avatar Aug 03 '21 07:08 zhouzhuo810

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:

      1. Add an input or output annotation.
      2. Mark it as @Internal.

CharlesTai avatar Aug 13 '21 06:08 CharlesTai

通过搜索后,看起来在在一些其他的项目也有人遇到了这个问题,这个是相关连接:https://github.com/gatling/gatling/issues/4068

对这个错误的改动在这里: https://github.com/gatling/gatling-gradle-plugin/commit/a86f08f5ee9db18cebdc09c6bf77a6bb182470c4?branch=a86f08f5ee9db18cebdc09c6bf77a6bb182470c4&diff=split

希望能够尽快适配

Liveinadream avatar Aug 15 '21 06:08 Liveinadream

+1 希望能尽快适配

TokenYc avatar Oct 12 '21 07:10 TokenYc

修改了gradle7.0+的版本 https://github.com/Leon406/AndResGuard

Leon406 avatar Nov 23 '21 06:11 Leon406

+1

AndroidLMY avatar Oct 21 '22 03:10 AndroidLMY