We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 18cfd0b commit a501a02Copy full SHA for a501a02
build.gradle
@@ -1,3 +1,7 @@
1
+def rootDir = "../"
2
+def dataZip = rootDir + 'data.zip'
3
+def samplesData = rootDir + 'samples-data'
4
+
5
allprojects {
6
apply plugin: 'java'
7
apply plugin: 'eclipse'
@@ -10,6 +14,19 @@ allprojects {
10
14
}
11
15
12
16
dependencies {
13
- compile 'com.esri.arcgisruntime:arcgis-java:100.0.0-1450'
17
+ compile 'com.esri.arcgisruntime:arcgis-java:100.0.0-1459'
18
19
20
21
+// Download data from AGOL for offline data samples
22
+task downloadData {
23
+ if (!file(samplesData).exists()) {
24
+ ant.get(src: 'https://arcgisruntime.maps.arcgis' +
25
+ '.com/sharing/rest/content/items/8b10b52320464b1bb728e552cfa6cb50/data', dest: dataZip)
26
+ copy {
27
+ from zipTree(dataZip)
28
+ into(rootDir)
29
+ }
30
+ delete(dataZip)
31
32
+}
0 commit comments