Fix idea dependency error.

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.
This commit is contained in:
Roman Inflianskas 2016-06-08 19:28:22 +03:00
parent 9d455cc4fe
commit 5944fccd36
3 changed files with 0 additions and 3 deletions

View file

@ -68,7 +68,6 @@ android {
jniLibs.srcDirs = ["libs"]
aidl.srcDirs = ["src"]
java.srcDirs = ["src"]
resources.srcDirs = ["src"]
renderscript.srcDirs = ["src"]
res.srcDirs = ["res"]
assets.srcDirs = ["assets"]

View file

@ -36,7 +36,6 @@ android {
jniLibs.srcDirs = []
aidl.srcDirs = ["src"]
java.srcDirs = ["src"]
resources.srcDirs = ["src"]
renderscript.srcDirs = ["src"]
res.srcDirs = ["res"]
assets.srcDirs = ["assets"]

View file

@ -36,7 +36,6 @@ android {
jniLibs.srcDirs = []
aidl.srcDirs = ["src"]
java.srcDirs = ["src"]
resources.srcDirs = ["src"]
renderscript.srcDirs = ["src"]
res.srcDirs = ["res"]
assets.srcDirs = ["assets"]