Skip to content
This repository was archived by the owner on Apr 5, 2022. It is now read-only.
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
30 changes: 16 additions & 14 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -330,20 +330,22 @@ artifacts {

}

task updateRootDocs << {
copy {
from "src/dist"
into "${rootProject.projectDir}"
include "notice.txt"
expand(copyright: new Date().format("yyyy"), version: project.version)
rename { filename -> "NOTICE" }
}

copy {
from "src/dist"
into "${rootProject.projectDir}"
include "license.txt"
rename { filename -> "LICENSE" }
task updateRootDocs {
doLast {
copy {
from "src/dist"
into "${rootProject.projectDir}"
include "notice.txt"
expand(copyright: new Date().format("yyyy"), version: project.version)
rename { filename -> "NOTICE" }
}

copy {
from "src/dist"
into "${rootProject.projectDir}"
include "license.txt"
rename { filename -> "LICENSE" }
}
}
}

Expand Down
18 changes: 9 additions & 9 deletions gradle.properties
Original file line number Diff line number Diff line change
@@ -1,18 +1,18 @@
h2Version=1.4.196
springSecurityVersion=5.0.0.M5
h2Version=1.4.197
springSecurityVersion=5.0.5.RELEASE
junitVersion=4.12
httpComponentsVersion=4.5.3
aspectjVersion=1.8.12
springVersion=5.0.0.RELEASE
httpComponentsVersion=4.5.5
aspectjVersion=1.9.1
springVersion=5.0.6.RELEASE
springSnapshotVersion=latest.integration
hamcrestVersion=1.3
version=2.0.0.BUILD-SNAPSHOT
jacksonVersion=2.9.2
jspApiVersion=2.3.2-b02
servletApiVersion=3.1.0
springReleaseVersion=latest.release
mockitoVersion=2.11.0
mockitoVersion=2.18.3
javaxInjectVersion=1
thymeleaf3Version=3.0.8.RELEASE
thymeleafSpring5Version=3.0.8.RELEASE
springBootVersion=2.0.0.RC2
thymeleaf3Version=3.0.9.RELEASE
thymeleafSpring5Version=3.0.9.RELEASE
springBootVersion=2.0.2.RELEASE
2 changes: 1 addition & 1 deletion gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@ distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-3.0-bin.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-4.7-bin.zip
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ public boolean isTrusted(X509Certificate[] chain, String authType) throws Certif
return true;
}
};
return SSLContexts.custom().useProtocol("SSL").loadTrustMaterial(trustStore, allTrust).build();
return SSLContexts.custom().setProtocol("SSL").loadTrustMaterial(trustStore, allTrust).build();
} catch (KeyStoreException e) {
e.printStackTrace();
} catch (KeyManagementException e) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -95,11 +95,8 @@ public static String generateConnectionViewHtml(String providerDisplayName, Stri
if (profile == null) {
builder.append("<h3>Connect to " + escProviderDisplayName + "</h3>");
builder.append("<form action=\"/connect/");

try {
String escProviderId = UriUtils.encodePath(providerId, "UTF-8");
builder.append(escProviderId);
} catch (UnsupportedEncodingException e) { /* Default to UTF-8...should be fine.*/ }
String escProviderId = UriUtils.encodePath(providerId, "UTF-8");
builder.append(escProviderId);

builder.append("\" method=\"POST\">");
builder.append("<div class=\"formInfo\">");
Expand Down