Skip to content

Commit ac8b0f8

Browse files
committed
Add maven and gradle release information to README file
1 parent 49b69b0 commit ac8b0f8

File tree

1 file changed

+26
-0
lines changed

1 file changed

+26
-0
lines changed

README.md

+26
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
[![Build Status](https://travis-ci.org/tools4j/meanvar.svg?branch=master)](https://travis-ci.org/tools4j/meanvar)
22
[![Coverage Status](https://coveralls.io/repos/github/tools4j/meanvar/badge.svg?branch=master)](https://coveralls.io/github/tools4j/meanvar?branch=master)
3+
[![Maven Central](https://img.shields.io/maven-central/v/org.tools4j/tools4j-meanvar.svg)](https://search.maven.org/#search%7Cga%7C1%7Ca%3A%22tools4j-meanvar%22)
34

45
# tools4j-meanvar
56
Tiny Java utility to incrementally calculate Mean and Standard Deviation with a numerically stable algorithm. Contains a simple utility class to incrementally calculate moving average and moving standard deviation of a data series.
@@ -59,6 +60,31 @@ var = win.getVariance();
5960
stdDev = win.getStdDev();
6061
```
6162

63+
#### Maven
64+
Add the following dependency to your maven pom.xml file:
65+
66+
```xml
67+
<dependency>
68+
<groupId>org.tools4j</groupId>
69+
<artifactId>tools4j-meanvar</artifactId>
70+
<version>1.1</version>
71+
</dependency>
72+
```
73+
74+
#### Gradle
75+
Add the following entry to the dependencies section in your build.gradle file:
76+
77+
```gradle
78+
dependencies {
79+
compile 'org.tools4j:tools4j-meanvar:1.1'
80+
}
81+
```
82+
83+
#### Download
84+
Sources and binaries can be downloaded from maven central:
85+
* [tools4j-meanvar](http://search.maven.org/#search%7Cga%7C1%7Ctools4j-meanvar) in Maven Central
86+
87+
6288
#### More Information
6389
* [MIT License](https://github.com/tools4j/meanvar/blob/master/LICENSE)
6490
* [MeanVarianceSampler.java](https://github.com/tools4j/meanvar/blob/master/src/main/java/org/tools4j/meanvar/MeanVarianceSampler.java): Utility to add, remove or replace values in a running calculation of mean and variance

0 commit comments

Comments
 (0)