Skip to content

Commit

Permalink
Fix CI with OpenJDK 7 - use HTTP instead of HTTPS for Gradle (dom4j#31)
Browse files Browse the repository at this point in the history
Fix CI with OpenJDK 7 - use HTTP instead of HTTPS for Gradle
  • Loading branch information
FilipJirsak committed Sep 16, 2017
1 parent 3352bc7 commit 169612f
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
2 changes: 2 additions & 0 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -126,4 +126,6 @@ if (project.hasProperty('ossrhUsername') && project.hasProperty('ossrhPassword')
task wrapper(type: Wrapper) {
//Gradle 2.14.1 is latest version compatible with Java 1.6. Gradle 3.0 needs Java 7.
gradleVersion = '2.14.1'
//Use HTTP instead of HTTPS - OpenJDK 7 doesn't trust Gradle HTTPS server certificate by default.
distributionUrl = "http://services.gradle.org/distributions/gradle-${gradleVersion}-bin.zip"
}
Binary file modified gradle/wrapper/gradle-wrapper.jar
Binary file not shown.
4 changes: 2 additions & 2 deletions gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#Mon Jun 26 14:39:46 CEST 2017
#Sat Sep 16 12:54:03 CEST 2017
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-2.14.1-bin.zip
distributionUrl=http\://services.gradle.org/distributions/gradle-2.14.1-all.zip

0 comments on commit 169612f

Please sign in to comment.