On dependency changes in File -> Project structure... I get following errors (for 3 projects):
{% for project in ['Osmand', 'Osmand-SRTMPlugin', 'Osmand-ParkingPlugin'] %}
Module "{{ project }}"
must not contain source root
"~/osmand/android/plugins/{{ project }}/src".
The root already belongs to module "{{ project }}"
{% endfor %}
This is due duplicate lines in "{{ project }}.iml" file that is
generated based on "build.gradle" files.
This commit fixes this situation.