Gradle will do its best to avoid reconciliation. That does depend on the type of change to A; if it's internal, no need to recompile consumers of the class. However, if the ABI changes (consumers binary view if the class’ interface) then consumers will need to be compiled.
e
ephemient
05/31/2022, 10:16 PM
if the changes (to either A or B) do not affect the public ABI, incremental compile avoidance should already work - at least for Java. for other languages it's trickier, e.g. https://youtrack.jetbrains.com/issue/KT-24203