can-i-drop-jetifier icon indicating copy to clipboard operation
can-i-drop-jetifier copied to clipboard

Compatibility with Gradle 7.0 rc2

Open Jeff11 opened this issue 3 years ago • 5 comments

When running ./gradlew -Pandroid.enableJetifier=false canIDropJetifier I get the following output:

> Task :myapp:canIDropJetifier FAILED

FAILURE: Build failed with an exception.

* What went wrong:
Some problems were found with the configuration of task ':myapp:canIDropJetifier' (type 'CanIDropJetifierTask').
  - Type 'CanIDropJetifierTask' property 'analyzeOnlyAndroidModules' 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.
    
    Please refer to https://docs.gradle.org/7.0-rc-2/userguide/validation_problems.html#missing_annotation for more details about this problem.
  - Type 'CanIDropJetifierTask' property 'configurationRegex' 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.
    
    Please refer to https://docs.gradle.org/7.0-rc-2/userguide/validation_problems.html#missing_annotation for more details about this problem.
  - Type 'CanIDropJetifierTask' property 'includeModules' 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.
    
    Please refer to https://docs.gradle.org/7.0-rc-2/userguide/validation_problems.html#missing_annotation for more details about this problem.
  - Type 'CanIDropJetifierTask' property 'parallelMode' 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.
    
    Please refer to https://docs.gradle.org/7.0-rc-2/userguide/validation_problems.html#missing_annotation for more details about this problem.
  - Type 'CanIDropJetifierTask' property 'parallelModePoolSize' 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.
    
    Please refer to https://docs.gradle.org/7.0-rc-2/userguide/validation_problems.html#missing_annotation for more details about this problem.

Jeff11 avatar Apr 07 '21 11:04 Jeff11

Same with 7.0 release.

stkent avatar Apr 22 '21 17:04 stkent

Same with 7.0 release.

Saumil-android avatar Aug 04 '21 06:08 Saumil-android

Same with Gradle 7.0.2.

peterfortuin avatar Aug 28 '21 08:08 peterfortuin

This project hasn't been updated in two years. I jumped to https://github.com/dipien/bye-bye-jetifier on side project, worked no problem.

tir38 avatar Sep 24 '21 00:09 tir38

I worked around this by setting gradle.properties back to to distributionUrl=https://services.gradle.org/distributions/gradle-6.7.1-all.zip

and in my build.gradle I had to go back to classpath 'com.android.tools.build:gradle:4.2.0'

and then it worked - and I can drop jetifier :-)

nordfalk avatar Oct 28 '21 11:10 nordfalk