Skip to content
Merged
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
1 change: 1 addition & 0 deletions labkey-api-sas/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ plugins {
}

repositories {
mavenCentral()
maven {
url "${artifactory_contextUrl}/libs-release"

Expand Down
6 changes: 3 additions & 3 deletions labkey-api-sas/gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@
# in the context URL or you will get a 500 error from artifactory.)
artifactory_contextUrl=https://artifactory.labkey.com/artifactory

artifactoryPluginVersion=4.13.0
gradlePluginsVersion=1.12.0
labkeyClientApiVersion=1.2.0
artifactoryPluginVersion=4.21.0
gradlePluginsVersion=1.32.2
labkeyClientApiVersion=1.4.0
2 changes: 1 addition & 1 deletion labkey-api-sas/gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-6.8.2-bin.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-7.4.2-bin.zip
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
9 changes: 8 additions & 1 deletion labkey-client-api/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,15 @@
# The LabKey Remote API Library for Java - Change Log

## version 1.5.0
*Released*: 20 April 2022
* Update gradle and various dependencies
* Update signature of `Connection` constructor
* [Issue 43380](https://www.labkey.org/home/Developer/issues/issues-details.view?issueId=43380): `ImportDataCommand` missing options supported by the query-import.api endpoint
* Remove `CheckForStudyReloadCommand`.

## version 1.4.0
*Released*: 16 June 2021
* Issue 43246: Lineage query NPE while processing an UploadedFile
* [Issue 43246](https://www.labkey.org/home/Developer/issues/issues-details.view?issueId=43246): Lineage query NPE while processing an UploadedFile
* Additional lineage options and support additional properties in response
* Update dependency version numbers
* Update to Gradle 7.1
Expand Down
4 changes: 3 additions & 1 deletion labkey-client-api/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ plugins {
}

repositories {
mavenCentral()
maven {
url "${artifactory_contextUrl}/libs-release"

Expand All @@ -56,7 +57,7 @@ repositories {

group "org.labkey.api"

version "1.5.0-SNAPSHOT"
version "1.6.0-SNAPSHOT"

dependencies {
implementation "org.apache.httpcomponents:httpmime:${httpmimeVersion}"
Expand Down Expand Up @@ -240,6 +241,7 @@ project.publishing {
maven = true
}
defaults {
publishBuildInfo = false
publishPom = true
publishIvy = false
}
Expand Down
2 changes: 1 addition & 1 deletion labkey-client-api/gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ sourceCompatibility=1.8
targetCompatibility=1.8

artifactoryPluginVersion=4.21.0
gradlePluginsVersion=1.26.0
gradlePluginsVersion=1.32.2

commonsCodecVersion=1.15
commonsLoggingVersion=1.2
Expand Down
2 changes: 1 addition & 1 deletion labkey-client-api/gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-7.1-bin.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-7.4.2-bin.zip
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
4 changes: 2 additions & 2 deletions labkey-client-api/src/org/labkey/remoteapi/Connection.java
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ public Connection(URI baseURI, CredentialsProvider credentialsProvider)
{
if (baseURI.getHost() == null || baseURI.getScheme() == null)
{
throw new IllegalArgumentException("Invalid server URL: " + baseURI.toString());
throw new IllegalArgumentException("Invalid server URL: " + baseURI);
}
_baseURI = baseURI;
_credentialsProvider = credentialsProvider;
Expand Down Expand Up @@ -541,4 +541,4 @@ private static URI toURI(String baseUrl)
throw new IllegalArgumentException("Invalid target server URL: " + baseUrl);
}
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@
import java.io.InputStreamReader;
import java.io.StringWriter;
import java.net.URI;
import java.nio.charset.Charset;
import java.util.Arrays;
import java.util.Objects;
import java.util.stream.Collectors;
Expand Down Expand Up @@ -580,7 +581,7 @@ private static void printUsage()
private static String readFully(InputStream in) throws IOException
{
StringWriter sw = new StringWriter();
try (BufferedReader buf = new BufferedReader(new InputStreamReader(in)))
try (BufferedReader buf = new BufferedReader(new InputStreamReader(in, Charset.defaultCharset())))
{
String line;
do
Expand Down