In Intellij, you can add module dependency under Project Structure.
There is a checkbox under Export under Dependency tab. As shown below.

I try to select the checkbox for log4j dependency and recompile it. Nothing added in the output path. As shown below.
Can anyone tell me what is the use of the checkbox under Export? What is the expected behavior with this checkbox selected?
Remark:
In the official document, it said
The Export option lets you control the compilation classpath for the modules that depend on this one: the marked items will be included in the compilation classpath of the dependent module.
But I don't understand what is that mean. Thanks a lot.