unused-dep
unused-dep copied to clipboard
After two hours still doing the same.
I tried to use but it seems to me that it stays in infinite loop, after two hours still doing the same.
This will attempt to run the `:fanatics:assembleDebug` gradle task for each dependency removal.
You can override the gradle task by using the `-gradletask` command line option. See `-help` for more options.
Proceed? (y/n)
y
WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by org.codehaus.groovy.reflection.CachedClass$3$1 (file:/Users/extmkv/StudioProjects/xxx/unused-dep.jar) to method java.lang.Object.finalize()
WARNING: Please consider reporting this to the maintainers of org.codehaus.groovy.reflection.CachedClass$3$1
WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
WARNING: All illegal access operations will be denied in a future release
Processing /Users/extmkv/StudioProjects/xxx/error-handling/build.gradle ...
|_ this.implementation(this.project(:example-client))
running :example:assembleDebug
|_ this.implementation(this.project(:example-core))
running :example:assembleDebug
|_ this.implementation(this.project(:example-ui))
running :example:assembleDebug
...
...
...
same```
Thanks for reporting this. Looks like a bug. My first thought is that the groovy version used for parsing is older/incompatible with some content in a gradle file. Will look into it.
Same issue. Sometimes I can kill the the jar and then restart and it gets past the issue, but then it hangs a few lines down unfortunately. @r-cohen any ideas on how we can help? This basically makes this useless for me.
If it helps... this is what I'm seeing
A B C <---frozen
kill the jar and run the start command again
A B C D <---frozen
kill the jar and run the start command again
A B C D E <---frozen
kill the jar and run the start command again
A B C D E F <---frozen
kill the jar and run the start command again
@ColtonIdle thanks for reporting this. would it be possible that you send me the gradle files in the different modules of your project so that I can identify whats causing it? also: does your project have multiple modules or just 1 app module?
I can't send my build files unfortunately. If anyone comes across this though, I found this project which identifies unused dependencies among other things. Highly recommend! https://github.com/autonomousapps/dependency-analysis-android-gradle-plugin