java - Intellij working with hybrid projects (maven+gradle) -


i'm working on 2 java projects: gradle project , maven project snapshot dependency gradle project.

when i'm changing gradle project need install m2 , refresh dependency in intellij.

is there way make gradle project sources date @ time maven project without installing m2?

you have in intelij:

  • right click on maven project , context menu select open module settings (f4)
  • in right panel select libraries
  • in middle panel select green plus (add library)
  • select java drop-down
  • navigate main directory of gradle project , confirm selection

voilĂ !


Comments

Popular posts from this blog

php - failed to open stream: HTTP request failed! HTTP/1.0 400 Bad Request -

java - How to filter a backspace keyboard input -

java - Show Soft Keyboard when EditText Appears -