Merge remote-tracking branch 'origin/dev'
diff --git a/build.gradle b/build.gradle
index 1f1c002..8ad3831 100644
--- a/build.gradle
+++ b/build.gradle
@@ -39,7 +39,9 @@
 task downloadOpenATFX(type: Download) {
     acceptAnyCertificate true
     overwrite false
-    src 'https://sourceforge.net/projects/openatfx/files/openatfx-0.6.4-jars.zip/download'
+    // use mirror subdomain of 'https://sourceforge.net/projects/openatfx/files/openatfx-0.6.4-jars.zip/download'
+    // because gradle has problems establishing a ssl connection with sourceforge directly
+    src 'https://10gbps-io.dl.sourceforge.net/project/openatfx/openatfx-0.6.4-jars.zip'
     dest new File(buildDir, 'openatfx-0.6.4-jars.zip')
     outputs.file dest
 }
diff --git a/gradle/wrapper/gradle-wrapper.properties b/gradle/wrapper/gradle-wrapper.properties
index 6f7f830..f7f1d31 100644
--- a/gradle/wrapper/gradle-wrapper.properties
+++ b/gradle/wrapper/gradle-wrapper.properties
@@ -3,4 +3,4 @@
 distributionPath=wrapper/dists
 zipStoreBase=GRADLE_USER_HOME
 zipStorePath=wrapper/dists
-distributionUrl=https\://services.gradle.org/distributions/gradle-2.11-bin.zip
+distributionUrl=https\://services.gradle.org/distributions/gradle-4.1-bin.zip