dipien / bye-bye-jetifier

Gradle Plugin to verify if you can keep Android Jetifier disabled
http://byebyejetifier.dipien.com
Apache License 2.0
202 stars 5 forks source link

Unused Dependencies #72

Open naltynbekkz opened 2 years ago

naltynbekkz commented 2 years ago

A question. The snippet from build output is

Scanning com.jakewharton.rxbinding2:rxbinding-kotlin:2.2.0
 Absolute path: /Users/mac/.gradle/caches/modules-2/files-2.1/com.jakewharton.rxbinding2/rxbinding-kotlin/2.2.0/f0c5b54acdec1fd5c5d77dbd0c905550ce324d80/rxbinding-kotlin-2.2.0.aar
 Graphs to this dependency:
 +---com.github.cloudpayments:CloudPayments-SDK-Android:1.1.2
     +---com.jakewharton.rxbinding2:rxbinding-kotlin:2.2.0
 +---zapis-partner-android.features:promotion:unspecified
     +---com.github.cloudpayments:CloudPayments-SDK-Android:1.1.2
          +---com.jakewharton.rxbinding2:rxbinding-kotlin:2.2.0
 +---zapis-partner-android.features:journal:unspecified
     +---zapis-partner-android.features:promotion:unspecified
          +---com.github.cloudpayments:CloudPayments-SDK-Android:1.1.2
               +---com.jakewharton.rxbinding2:rxbinding-kotlin:2.2.0
 Issues found:
 * pom -> com.android.support:support-annotations:28.0.0

> Task :canISayByeByeJetifier FAILED

Execution failed for task ':canISayByeByeJetifier'.
> You can not say Bye Bye Jetifier

Apparently the CloudPayments library is only declaring the dependency on com.jakewharton.rxbinding2:rxbinding-kotlin:2.2.0 in the build.gradle file, but is not actually using it. What should I add to the excludedFilesFromScanning?