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
6 changes: 5 additions & 1 deletion .releaserc
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,11 @@
"@semantic-release/commit-analyzer",
"@semantic-release/release-notes-generator",
"@semantic-release/git",
"@semantic-release/github",
["@semantic-release/github", {
"assets": [
{"path": "ibm-watson/build/libs/ibm-watson-${nextRelease.version}-jar-with-dependencies.jar"}
]
}],
["@semantic-release/exec", {
"prepareCmd": "bumpversion --current-version ${lastRelease.version} --new-version ${nextRelease.version} --verbose --allow-dirty patch"
}]
Expand Down
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ after_success:
deploy:
- provider: script
skip_cleanup: true
script: "travis_wait 30 ./gradlew bintrayUpload"
script: "./gradlew bintrayUpload"
on:
tags: true
jdk: openjdk7
Expand Down
71 changes: 0 additions & 71 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,72 +49,12 @@ Java client library to use the [Watson APIs][wdc].

</details>

:speaking_head: :speaking_head: :speaking_head:
## Heads up!
`v7.1.0` is out! Be sure to check out the [migration guide](https://github.com/watson-developer-cloud/java-sdk/blob/java-sdk-7.1.0/MIGRATION.md) for major breaking changes and the [release notes](https://github.com/watson-developer-cloud/java-sdk/releases/tag/java-sdk-7.1.0) for extra info.
:speaking_head: :speaking_head: :speaking_head:

## Before you begin
* You need an [IBM Cloud][ibm-cloud-onboarding] account.

## Installation

##### Maven
First, you'll need to edit your `settings.xml` file to target the right repository. Here's an example file configured to use the library:
```xml
<settings xmlns='http://maven.apache.org/SETTINGS/1.0.0' xsi:schemaLocation='http://maven.apache.org/SETTINGS/1.0.0 http://maven.apache.org/xsd/settings-1.0.0.xsd' xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance'>
<profiles>
<profile>
<repositories>
<repository>
<snapshots>
<enabled>
false
</enabled>
</snapshots>
<id>
bintray-ibm-cloud-sdks-ibm-cloud-sdk-repo
</id>
<name>
bintray
</name>
<url>
https://dl.bintray.com/ibm-cloud-sdks/ibm-cloud-sdk-repo
</url>
</repository>
</repositories>
<pluginRepositories>
<pluginRepository>
<snapshots>
<enabled>
false
</enabled>
</snapshots>
<id>
bintray-ibm-cloud-sdks-ibm-cloud-sdk-repo
</id>
<name>
bintray-plugins
</name>
<url>
https://dl.bintray.com/ibm-cloud-sdks/ibm-cloud-sdk-repo
</url>
</pluginRepository>
</pluginRepositories>
<id>
bintray
</id>
</profile>
</profiles>
<activeProfiles>
<activeProfile>
bintray
</activeProfile>
</activeProfiles>
</settings>
```
Then, you can add the dependencies in your project POM.

All the services:

```xml
Expand All @@ -136,17 +76,6 @@ Only Discovery:
```

##### Gradle
First, edit your repositories in your `build.gradle` file to target the right repository:
```gradle
repositories {
maven {
url "https://dl.bintray.com/ibm-cloud-sdks/ibm-cloud-sdk-repo"
}
}
```

Then, you can add the actual dependencies.

All the services:

```gradle
Expand Down
1 change: 1 addition & 0 deletions ibm-watson/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,7 @@ artifacts {

dependencies {
compile project(':assistant')
compile project(':common')
compile project(':compare-comply')
compile project(':discovery')
compile project(':language-translator')
Expand Down