Skip to content

Commit d02e5ff

Browse files
updated sdk version prior to release
1 parent 8b277c4 commit d02e5ff

File tree

5 files changed

+17
-15
lines changed

5 files changed

+17
-15
lines changed

README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ System.out.println(size);
8383

8484
## Breaking Changes for v3.0
8585

86-
The version 3.0.0-RC1 is a major release focused on simplicity and consistency. Several breaking changes were introduced.
86+
The version 3.0 is a major release focused on simplicity and consistency. Several breaking changes were introduced.
8787

8888
### Synchronous vs. Asynchronous
8989

@@ -137,13 +137,13 @@ System.out.println(dialogs);
137137
<dependency>
138138
<groupId>com.ibm.watson.developer_cloud</groupId>
139139
<artifactId>java-sdk</artifactId>
140-
<version>3.0.0-RC1</version>
140+
<version>3.0.1</version>
141141
</dependency>
142142
```
143143
##### Gradle
144144

145145
```gradle
146-
'com.ibm.watson.developer_cloud:java-sdk:3.0.0-RC1'
146+
'com.ibm.watson.developer_cloud:java-sdk:3.0.1'
147147
```
148148

149149
Snapshots of the development version are available in [Sonatype's snapshots repository][sonatype_snapshots].
@@ -594,7 +594,7 @@ Gradle:
594594

595595
```sh
596596
$ cd java-sdk
597-
$ gradle jar # build jar file (build/libs/watson-developer-cloud-3.0.0-RC1.jar)
597+
$ gradle jar # build jar file (build/libs/watson-developer-cloud-3.0.1.jar)
598598
$ gradle test # run tests
599599
```
600600

@@ -662,4 +662,4 @@ See [CONTRIBUTING.md](.github/CONTRIBUTING.md).
662662
[apache_maven]: http://maven.apache.org/
663663
[sonatype_snapshots]: https://oss.sonatype.org/content/repositories/snapshots/com/ibm/watson/developer_cloud/java-sdk/
664664

665-
[jar]: https://github.com/watson-developer-cloud/java-sdk/releases/download/java-sdk-3.0.0-RC1/java-sdk-3.0.0-RC1-jar-with-dependencies.jar
665+
[jar]: https://github.com/watson-developer-cloud/java-sdk/releases/download/java-sdk-3.0.1/java-sdk-3.0.1-jar-with-dependencies.jar

build.gradle

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -7,22 +7,24 @@ sourceCompatibility = 1.6
77
targetCompatibility = 1.6
88
group = 'com.ibm.watson.developercloud'
99
archivesBaseName = 'watson-developer-cloud'
10-
version = '3.0.0-RC1'
10+
version = '3.0.1'
1111

12-
description = 'Client library to use the IBM Watson Services and AlchemyAPI'
12+
description = 'Client library to use the IBM Watson and Alchemy Services'
1313

1414
repositories {
1515
mavenCentral()
1616
}
1717
dependencies {
18-
compile group: 'com.squareup.okhttp3', name: 'okhttp', version:'3.2.0'
19-
compile group: 'com.squareup.okhttp3', name: 'okhttp-ws', version:'3.2.0'
20-
compile group: 'com.squareup.okhttp3', name: 'okhttp-urlconnection', version:'3.2.0'
18+
compile group: 'com.squareup.okhttp3', name: 'okhttp', version:'3.3.1'
19+
compile group: 'com.squareup.okhttp3', name: 'okhttp-ws', version:'3.3.1'
20+
compile group: 'com.squareup.okhttp3', name: 'logging-interceptor', version:'3.3.1'
21+
compile group: 'com.squareup.okhttp3', name: 'okhttp-urlconnection', version:'3.3.1'
2122
compile group: 'com.google.code.gson', name: 'gson', version:'2.6.2'
2223
compile group: 'org.apache.commons', name: 'commons-lang3', version:'3.4'
2324
compile group: 'org.glassfish.jersey.bundles.repackaged', name: 'jersey-jsr166e', version:'2.22.2'
24-
testCompile group: 'com.squareup.okhttp3', name: 'mockwebserver', version:'3.2.0'
25-
testCompile group: 'org.mock-server', name: 'mockserver-netty', version:'3.9.17'
25+
testCompile group: 'com.squareup.okhttp3', name: 'mockwebserver', version:'3.3.1'
26+
testCompile group: 'ch.qos.logback', name: 'logback-classic', version:'1.1.7'
27+
testCompile group: 'com.google.guava', name: 'guava', version:'19.0'
2628
testCompile group: 'junit', name: 'junit-dep', version:'4.11'
2729
}
2830

examples/retrieve-and-rank-solrj/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
<dependency>
2828
<groupId>com.ibm.watson.developer_cloud</groupId>
2929
<artifactId>java-sdk</artifactId>
30-
<version>3.0.0-RC1</version>
30+
<version>3.0.1</version>
3131
</dependency>
3232
</dependencies>
3333
</project>

src/main/java/com/ibm/watson/developer_cloud/util/RequestUtils.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ public class RequestUtils {
3737
*/
3838
public static final String DEFAULT_ENDPOINT = "http://do.not.use";
3939

40-
private static final String SDK_VERSION = "3.0.0-RC1";
40+
private static final String SDK_VERSION = "3.0.1";
4141
private static final String[] properties =
4242
new String[] {"java.vendor", "java.version", "os.arch", "os.name", "os.version"};
4343
private static String userAgent;

src/test/java/com/ibm/watson/developer_cloud/service/GenericServiceTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -219,7 +219,7 @@ public void testUserAgentIsSet() throws InterruptedException {
219219
server.enqueue(jsonResponse(Collections.emptyMap()));
220220
service.getProfile(sampleText).execute();
221221
final RecordedRequest request = checkRequest();
222-
assertTrue(request.getHeader(HttpHeaders.USER_AGENT).startsWith("watson-apis-java-sdk/3.0.0-RC1"));
222+
assertTrue(request.getHeader(HttpHeaders.USER_AGENT).startsWith("watson-apis-java-sdk/3.0.1"));
223223
}
224224

225225
/**

0 commit comments

Comments
 (0)