AffectedModuleDetector icon indicating copy to clipboard operation
AffectedModuleDetector copied to clipboard

A version bump to a runtimeOnly dependency does not mark module as affected

Open roded opened this issue 2 years ago • 2 comments

I have a module with a runtimeOnly dependency. When bumping that dependency's version, AMD does not mark the module as affected. However, if the same dependency is changed to the implementation configuration AMD picks it up.

Is this intended?

roded avatar Mar 14 '23 16:03 roded

I think that the issue is that this plugin does not play nice with Gradle version catalog toml files which do not reside in the project.

roded avatar Mar 14 '23 20:03 roded

fwiw I got around this by doing pathsAffectingAllModules = setOf("gradle/libs.versions.toml"). Annoying, but works great

edenman avatar Apr 23 '23 07:04 edenman

Yes, that is probably the proper fix to listen to the toml file. Happy to accept a PR if that doesn't resolve your issue

joshafeinberg avatar Aug 14 '25 18:08 joshafeinberg