Skip to content

Commit

Permalink
Update README.md (#589)
Browse files Browse the repository at this point in the history
  • Loading branch information
Sharon Shabtai authored Apr 30, 2021
1 parent 00050fe commit 6b43a95
Showing 1 changed file with 16 additions and 31 deletions.
47 changes: 16 additions & 31 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,20 +30,20 @@ The SDK can also be included directly into a Maven or Gradle build. There is als
<project>
...
<repositories>
<repository>
<id>Spectra-Github</id>
<url>http://dl.bintray.com/spectralogic/ds3</url>
</repository>
</repositories>
<repository>
<id>jitpack.io</id>
<url>https://jitpack.io</url>
</repository>
</repositories>
...
<dependencies>
...
<dependency>
<groupId>com.spectralogic.ds3</groupId>
<artifactId>ds3-sdk</artifactId>
<version>5.0.4</version>
<groupId>com.github.spectralogic</groupId>
<artifactId>ds3_java_sdk</artifactId>
<version>Tag</version>
<!-- <classifier>all</classifier> -->
</dependency>
</dependency>
...
</dependencies>
</project>
Expand All @@ -54,19 +54,16 @@ To include the sdk into Gradle include the following in the `build.gradle` file:

```groovy
repositories {
...
maven {
url 'http://dl.bintray.com/spectralogic/ds3'
}
...
allprojects {
repositories {
...
maven { url 'https://jitpack.io' }
}
}
dependencies {
...
compile 'com.spectralogic.ds3:ds3-sdk:5.0.4'
// compile 'com.spectralogic.ds3:ds3-sdk:5.0.4:all'
...
implementation 'com.github.spectralogic:ds3_java_sdk:Tag'
implementation 'com.github.spectralogic:ds3_java_sdk:Tag:all'
}
```
Expand Down Expand Up @@ -94,15 +91,3 @@ bridges, please see [SLF4j.org](http://www.slf4j.org/manual.html).
In addition to unit tests in the main `ds3-sdk` module, there are additional integration tests in the `ds3-integration` module. Please see the integration [README](ds3-sdk-integration/README.md) for details on running the tests. To just run the SDK's unit tests use:

./gradlew clean ds3-sdk:test

## Publishing

Before a user can publish the SDK they must first have [Bintray](https://bintray.com/spectralogic) API credentials and access to our organization to upload. Once a user has access they can set their credentials on the command line by issuing:

```shell

$ export BINTRAY_USER="userName"
$ export BINTRAY_KEY="api_key"
```

After the credentials have been set, to publish the SDK to [Bintray](https://bintray.com/spectralogic), issue the following from the command line run: `./gradlew clean bintrayUpload`

0 comments on commit 6b43a95

Please sign in to comment.