Skip to content

Commit c2cede1

Browse files
committed
Instructions
1 parent dce9267 commit c2cede1

File tree

2 files changed

+22
-1
lines changed

2 files changed

+22
-1
lines changed

README.md

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,25 @@
55

66
The Java SDK for interacting with the [Databox](https://databox.com) Push API v 2.0.
77

8+
## Installation
9+
10+
For [Gradle](http://gradle.org/) users. Add this to your `gradle.build`:
11+
12+
```gradle
13+
repositories {
14+
jcenter()
15+
maven { url "http://dl.bintray.com/databox/databox" }
16+
}
17+
18+
dependencies {
19+
...
20+
compile 'com.databox:databox-java:2.0'
21+
...
22+
}
23+
```
24+
25+
For [Maven](http://maven.org/) users. Get your [settings.xml at Bintray](https://bintray.com/databox/databox/databox-sdk/view).
26+
827
## Requirements
928

1029
* Java >= 1.7 or later,

build.gradle

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,9 @@ dependencies {
3333
bintray {
3434
user = project.hasProperty('bintrayUser') ? project.property('bintrayUser') : ""
3535
key = project.hasProperty('bintrayApiKey') ? project.property('bintrayApiKey') : ""
36-
configurations = ['archives']
36+
// configurations = ['archives']
37+
publications = ['mavenJava']
38+
3739
pkg {
3840
repo = 'databox'
3941
name = 'databox-sdk'

0 commit comments

Comments
 (0)