Skip to content

Commit

Permalink
Merge pull request #11 from RADAR-CNS/0.2_release
Browse files Browse the repository at this point in the history
RADAR-Commons 0.2 release branch
  • Loading branch information
blootsvoets authored Apr 6, 2017
2 parents 981b7ab + a55bd62 commit 59cd398
Show file tree
Hide file tree
Showing 26 changed files with 1,161 additions and 203 deletions.
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ log/
.gradletasknamecache

# Build
/build/
build/

# Generated Avro files
/src/avroSources/java/
Expand Down
3 changes: 0 additions & 3 deletions .gitmodules

This file was deleted.

9 changes: 5 additions & 4 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,13 +17,14 @@ after_script:

deploy:
provider: releases
api_key:
secure: ${GH_TOKEN}
api_key: ${GH_TOKEN}
file_glob: true
file: build/libs/*.jar
file:
- "build/libs/*.jar"
- "testing/build/libs/*.jar"
skip_cleanup: true
on:
tags: true

after_deploy:
- ./gradlew bintrayUpload
- ./gradlew bintrayUpload
30 changes: 11 additions & 19 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,32 +14,24 @@ repositories {
}
dependencies {
compile group: 'org.radarcns', name: 'radar-commons', version: '0.1'
compile group: 'org.radarcns', name: 'radar-commons', version: '0.2'
}
```

# Installation

First, add the current repository as a submodule to your Git repository

```shell
git submodule add https://github.com/RADAR-CNS/RADAR-Commons.git commons
git submodule update --init --recursive
```

Then, add it as a dependency in Gradle by adding the following dependency in your `build.gradle`:
For mocking clients of the RADAR-CNS infrastructure, use that 'radar-commons-testing' repository:

```gradle
repositories {
maven { url 'http://dl.bintray.com/radar-cns/org.radarcns' }
}
dependencies {
compile project(':commons')
testCompile group: 'org.radarcns', name: 'radar-commons-testing', version: '0.2'
}
```
and adding the line

```gradle
include ':commons'
```
in your `settings.gradle`.
## Contributing

Note: This repository is still in WIP. Expect frequent changes.
For latest code use `dev` branch
For latest code use `dev` branch.
Code should be formatted using the [Google Java Code Style Guide](https://google.github.io/styleguide/javaguide.html).
If you want to contribute a feature or fix browse our [issues](https://github.com/RADAR-CNS/RADAR-Commons/issues), and please make a pull request.
Loading

0 comments on commit 59cd398

Please sign in to comment.