Index: applications/editors/josm/plugins/mapillary/build.gradle
===================================================================
--- applications/editors/josm/plugins/mapillary/build.gradle	(revision 31780)
+++ applications/editors/josm/plugins/mapillary/build.gradle	(revision 31782)
@@ -32,6 +32,6 @@
   compile 'org.apache.commons:commons-imaging:1.0-SNAPSHOT'
 
-  packIntoJar 'com.amazonaws:aws-java-sdk-s3:1.10.8'
-  packIntoJar 'org.apache.httpcomponents:httpmime:4.5'
+  packIntoJar 'com.amazonaws:aws-java-sdk-s3:1.10.37'
+  packIntoJar 'org.apache.httpcomponents:httpmime:4.5.1'
 
   testCompile 'junit:junit:4.12'
@@ -150,10 +150,2 @@
 }
 runJosmLatest.dependsOn installPluginToJosmLatest
-
-/** Wrapper task:
- * This only needs to be run once when the Gradle version changes.
- * The changed files (probably in the gradle/-folder) should then be commited to CVS.
- */
-task wrapper(type: Wrapper) {
-  gradleVersion = '2.5'
-}
Index: applications/editors/josm/plugins/mapillary/gradle/wrapper/gradle-wrapper.properties
===================================================================
--- applications/editors/josm/plugins/mapillary/gradle/wrapper/gradle-wrapper.properties	(revision 31780)
+++ applications/editors/josm/plugins/mapillary/gradle/wrapper/gradle-wrapper.properties	(revision 31782)
@@ -1,6 +1,6 @@
-#Fri Jul 17 05:07:37 CEST 2015
 distributionBase=GRADLE_USER_HOME
 distributionPath=wrapper/dists
 zipStoreBase=GRADLE_USER_HOME
 zipStorePath=wrapper/dists
-distributionUrl=https\://services.gradle.org/distributions/gradle-2.5-bin.zip
+distributionUrl=https\://services.gradle.org/distributions/gradle-2.9-bin.zip
+distributionSha256Sum=c9159ec4362284c0a38d73237e224deae6139cbde0db4f0f44e1c7691dd3de2f
Index: applications/editors/josm/plugins/mapillary/gradlew
===================================================================
--- applications/editors/josm/plugins/mapillary/gradlew	(revision 31780)
+++ applications/editors/josm/plugins/mapillary/gradlew	(revision 31782)
@@ -43,9 +43,4 @@
 esac
 
-# For Cygwin, ensure paths are in UNIX format before anything is touched.
-if $cygwin ; then
-    [ -n "$JAVA_HOME" ] && JAVA_HOME=`cygpath --unix "$JAVA_HOME"`
-fi
-
 # Attempt to set APP_HOME
 # Resolve links: $0 may be a link
@@ -62,7 +57,7 @@
 done
 SAVED="`pwd`"
-cd "`dirname \"$PRG\"`/" >&-
+cd "`dirname \"$PRG\"`/" >/dev/null
 APP_HOME="`pwd -P`"
-cd "$SAVED" >&-
+cd "$SAVED" >/dev/null
 
 CLASSPATH=$APP_HOME/gradle/wrapper/gradle-wrapper.jar
@@ -115,4 +110,5 @@
     APP_HOME=`cygpath --path --mixed "$APP_HOME"`
     CLASSPATH=`cygpath --path --mixed "$CLASSPATH"`
+    JAVACMD=`cygpath --unix "$JAVACMD"`
 
     # We build the pattern for arguments to be converted via cygpath
