Inherit dependencies from parent project

I have two modules in tha same project.
Is there any way they can inherit a dependency from their parent project, so that I don't have to declare the dependency library twice?

3 comments

I'm afraid the problem is unclear. What is meant by a 'parent project'?

Denis

0

If I am right a project in IntelliJ Idea may contain more than one modules.
So if I have a project with two modules, I called this project the 'parent' project.

0

Yes, an IJ project can contain more than one module (that's how we call sub-projects in our domain). Here is a list of the most commonly used IJ project structure terms - http://www.jetbrains.com/idea/documentation/migration_faq.html

Denis

0

Please sign in to leave a comment.