Skip to content

Commit 2d91316

Browse files
authored
Merge pull request #509 from rpmoore/v3_5_1
V3 5 1
2 parents 954aae4 + 402fdb9 commit 2d91316

File tree

5 files changed

+21
-12
lines changed

5 files changed

+21
-12
lines changed

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
language: java
22
jdk:
33
- oraclejdk8
4-
script: ./gradlew -S clean jar ds3_java_sdk:test ds3-utils:test ds3-metadata:test
4+
script: ./gradlew -S clean jar ds3-sdk:test ds3-utils:test ds3-metadata:test

README.md

Lines changed: 16 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,7 @@ If using Intellij, simply import the project as a Gradle project.
2121

2222
## Install
2323

24-
To install the latest `ds3_java_sdk` either download the latest release jar file from the [Releases](../../releases) page or clone the repository with `git clone https://github.com/SpectraLogic/ds3_java_sdk.git`, cd to `ds3_java_sdk` and run `./gradlew clean ds3-sdk:install` to install the sdk into your local maven repository. It is compatible with Java 7 and above.
25-
24+
To install the latest `ds3_java_sdk` either download the latest release jar file from the [Releases](../../releases) page or clone the repository with `git clone https://github.com/SpectraLogic/ds3_java_sdk.git`, cd to `ds3_java_sdk` and run `./gradlew clean ds3-sdk:install` to install the sdk into your local maven repository. It is compatible with Java 8.
2625
The SDK can also be included directly into a Maven or Gradle build. There is also a fatjar version that you can optionally use with the `all` classifier, take a look at the commented out code in the examples below. To include the SDK into maven add the following to the `pom.xml` file:
2726

2827
```xml
@@ -41,7 +40,7 @@ The SDK can also be included directly into a Maven or Gradle build. There is als
4140
<dependency>
4241
<groupId>com.spectralogic.ds3</groupId>
4342
<artifactId>ds3-sdk</artifactId>
44-
<version>3.4.0</version>
43+
<version>3.5.2</version>
4544
<!-- <classifier>all</classifier> -->
4645
</dependency>
4746
...
@@ -64,8 +63,8 @@ repositories {
6463
6564
dependencies {
6665
...
67-
compile 'com.spectralogic.ds3:ds3-sdk:3.4.0'
68-
// compile 'com.spectralogic.ds3:ds3-sdk:3.4.0:all'
66+
compile 'com.spectralogic.ds3:ds3-sdk:3.5.2'
67+
// compile 'com.spectralogic.ds3:ds3-sdk:3.5.2:all'
6968
...
7069
}
7170
@@ -94,3 +93,15 @@ bridges, please see [SLF4j.org](http://www.slf4j.org/manual.html).
9493
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:
9594

9695
./gradlew clean ds3-sdk:test
96+
97+
## Publishing
98+
99+
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:
100+
101+
```shell
102+
103+
$ export BINTRAY_USER="userName"
104+
$ export BINTRAY_KEY="api_key"
105+
```
106+
107+
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`

build.gradle

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ task wrapper(type: Wrapper) {
6161
gradleVersion = '4.1'
6262
}
6363

64-
project(':ds3_java_sdk') {
64+
project(':ds3-sdk') {
6565
dependencies {
6666
compile project(':ds3-interfaces')
6767
compile project(':ds3-utils')
@@ -77,14 +77,14 @@ project(':ds3-metadata') {
7777

7878
project(':ds3-sdk-integration') {
7979
dependencies {
80-
compile project(':ds3_java_sdk')
80+
compile project(':ds3-sdk')
8181
compile project(':ds3-metadata')
8282
}
8383
}
8484

8585
project(':ds3-sdk-samples') {
8686
dependencies {
87-
compile project(':ds3_java_sdk')
87+
compile project(':ds3-sdk')
8888
}
8989
}
9090

gradle/scripts/publish.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,4 +20,4 @@ bintray {
2020
name = "$project.version"
2121
}
2222
}
23-
}
23+
}

settings.gradle

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,5 +15,3 @@
1515

1616
include 'ds3-sdk-integration', 'ds3-sdk', 'ds3-sdk-samples', 'ds3-interfaces', 'ds3-metadata', 'ds3-utils'
1717
rootProject.name = 'ds3-java-sdk'
18-
19-
project(":ds3-sdk").name = "ds3_java_sdk"

0 commit comments

Comments
 (0)