autonomousapps / dependency-analysis-gradle-plugin

Gradle plugin for JVM projects written in Java, Kotlin, Groovy, or Scala; and Android projects written in Java or Kotlin. Provides advice for managing dependencies and other applied plugins
Apache License 2.0
1.82k stars 120 forks source link

feat: detect duplicate classfiles on compile and runtime classpaths. #1295

Closed autonomousapps closed 3 weeks ago

autonomousapps commented 3 weeks ago

At this point, not sure what to do but warn. Providing more detailed advice would require much more information about the structure of the class files, which is a problem we've avoided till now. We'd basically need an AST and an understanding of how the classes are used, vs simply seeing the classes referenced in bytecode.

Follow-ups:

  1. Enable filtering.
  2. Turn warning into error by resolving issue mentioned in paragraph above.
github-actions[bot] commented 3 weeks ago

❌ Test workflow failed:

* Root buildHealth         : https://gradle.com/s/xdsqylcfpfypq
* TestKit buildHealth      : 
* Non-functional tests     : 
* TestKit check            : 
* JVM functional tests     : 
* Android functional tests : 
github-actions[bot] commented 3 weeks ago

❌ Test workflow failed:

* Root buildHealth         : https://gradle.com/s/cnsusfjgkhzma
* TestKit buildHealth      : https://gradle.com/s/uxm45aeridbyc
* Non-functional tests     : https://gradle.com/s/37ala2jvrwrvc
* TestKit check            : https://gradle.com/s/wftt3odwfde6w
* JVM functional tests     : 
* Android functional tests : 
github-actions[bot] commented 3 weeks ago

❌ Test workflow failed:

* Root buildHealth         : https://gradle.com/s/njswtks6eeal4
* TestKit buildHealth      : https://gradle.com/s/rdz4pujra3qwg
* Non-functional tests     : https://gradle.com/s/46h4hguuddxx6
* TestKit check            : https://gradle.com/s/rnq3nzn3mcx7s
* JVM functional tests     : https://gradle.com/s/r7yjwiquyl6yw
* Android functional tests : 
github-actions[bot] commented 3 weeks ago

❌ Test workflow failed:

* Root buildHealth         : https://gradle.com/s/awm3auajplcdk
* TestKit buildHealth      : https://gradle.com/s/s5bud53mdi22k
* Non-functional tests     : https://gradle.com/s/qkv5di6dd5wwk
* TestKit check            : https://gradle.com/s/mutjsk2jhlkuo
* JVM functional tests     : https://gradle.com/s/k542ivzb54b4k
* Android functional tests : 
github-actions[bot] commented 3 weeks ago

❌ Test workflow failed:

* Root buildHealth         : https://gradle.com/s/4dxa2io3xfnyo
* TestKit buildHealth      : https://gradle.com/s/ak3d4loe5wpzs
* Non-functional tests     : https://gradle.com/s/cwt3e2kqgdcjy
* TestKit check            : https://gradle.com/s/i4nj32rf7hd44
* JVM functional tests     : https://gradle.com/s/ci3brtzv6xgnw
* Android functional tests : 
github-actions[bot] commented 3 weeks ago

❌ Test workflow failed:

* Root buildHealth         : https://gradle.com/s/ffae4xdgl5w4m
* TestKit buildHealth      : https://gradle.com/s/4nhq5nejxnpmm
* Non-functional tests     : https://gradle.com/s/t3rri6k2lwv4k
* TestKit check            : https://gradle.com/s/ymtfzjn4lje36
* JVM functional tests     : https://gradle.com/s/7jh22vvkcrtm4
* Android functional tests : 
github-actions[bot] commented 3 weeks ago

❌ Test workflow failed:

* Root buildHealth         : https://gradle.com/s/hnjqoftiqq6m6
* TestKit buildHealth      : https://gradle.com/s/nllf4bps5wzfs
* Non-functional tests     : https://gradle.com/s/kpodmrjl2jsvg
* TestKit check            : https://gradle.com/s/wzkuplg5qf466
* JVM functional tests     : https://gradle.com/s/foyrz7ttcumtw
* Android functional tests :