Skip to content

Commit d3e244d

Browse files
committed
fixed build issue with android, graphhopper#1144
1 parent eea5d29 commit d3e244d

File tree

2 files changed

+10
-7
lines changed

2 files changed

+10
-7
lines changed

android/app/build.gradle

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,10 +46,12 @@ dependencies {
4646
compile 'org.mapsforge:vtm-android:0.8.0:natives-armeabi'
4747
compile 'org.mapsforge:vtm-android:0.8.0:natives-armeabi-v7a'
4848
compile 'org.mapsforge:vtm-android:0.8.0:natives-x86'
49-
compile 'org.mapsforge:vtm-jts:0.8.0'
49+
compile('org.mapsforge:vtm-jts:0.8.0') {
50+
exclude group: 'com.vividsolutions', module: 'jts-core'
51+
}
5052
compile 'org.mapsforge:vtm-themes:0.8.0'
5153
compile 'com.caverock:androidsvg:1.2.2-beta-1'
52-
compile 'com.vividsolutions:jts-core:1.14.0'
54+
// compile 'com.vividsolutions:jts-core:1.14.0'
5355

5456
compile 'org.slf4j:slf4j-api:1.7.25'
5557
compile 'org.slf4j:slf4j-android:1.7.25'

android/app/pom.xml

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,12 @@
7878
<groupId>org.mapsforge</groupId>
7979
<artifactId>vtm-jts</artifactId>
8080
<version>${vtm.version}</version>
81+
<exclusions>
82+
<exclusion>
83+
<groupId>com.vividsolutions</groupId>
84+
<artifactId>jts-core</artifactId>
85+
</exclusion>
86+
</exclusions>
8187
</dependency>
8288
<dependency>
8389
<groupId>org.mapsforge</groupId>
@@ -89,11 +95,6 @@
8995
<artifactId>androidsvg</artifactId>
9096
<version>1.2.2-beta-1</version>
9197
</dependency>
92-
<dependency>
93-
<groupId>com.vividsolutions</groupId>
94-
<artifactId>jts</artifactId>
95-
<version>1.13</version>
96-
</dependency>
9798

9899
<dependency>
99100
<groupId>org.slf4j</groupId>

0 commit comments

Comments
 (0)