What do consumed and resolved mean?

while reading java library plugin doc, I notice the configuration properties including consumed and resolved:

However, I see no where mentioning the meaning of these words. As a result, I can’t understand the use of apiElements and runtimeElements.
According to the doc, apiElements and runtimeElements is used by consumers when compiling or running against the module. but I see no difference with dependency.

1 Like

I am also fighting with the java-lib plugin … I need to figure out how to consume all the artifacts necessary to run it. Any luck?