build ide module dependencies from artifacts of type='jar' only
(cherry picked from commit 063787d)