Skip to content

Commit a4df463

Browse files
committed
Add Gradle instructions
1 parent 281c468 commit a4df463

2 files changed

Lines changed: 16 additions & 1 deletion

File tree

README.md

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@ Factors web services](https://dev.maxmind.com/minfraud/).
77

88
## Installation ##
99

10+
### Maven ###
11+
1012
We recommend installing this package with [Maven](http://maven.apache.org/).
1113
To do this, add the dependency to your pom.xml:
1214

@@ -18,6 +20,19 @@ To do this, add the dependency to your pom.xml:
1820
</dependency>
1921
```
2022

23+
### Gradle ###
24+
25+
Add the following to your `build.gradle` file:
26+
27+
```
28+
repositories {
29+
mavenCentral()
30+
}
31+
dependencies {
32+
compile 'ccom.maxmind.minfraud:minfraud:1.2.0'
33+
}
34+
```
35+
2136
## API Documentation ##
2237

2338
API documentation is viewable on our [GitHub

dev-bin/release.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ version: $tag
7171
EOF
7272

7373
perl -pi -e "s/(?<=<version>)[^<]*/$version/" README.md
74-
perl -pi -e "s/(?<=com\.maxmind\.geoip2\:geoip2\:)\d+\.\d+\.\d+([\w\-]+)?/$version/" README.md
74+
perl -pi -e "s/(?<=com\.maxmind\.minfraud\:minfraud\:)\d+\.\d+\.\d+([\w\-]+)?/$version/" README.md
7575

7676
cat README.md >> $page
7777

0 commit comments

Comments
 (0)