Updated from JCenter to Maven Central.
Updated dependencies.
This commit is contained in:
parent
458c1c67a5
commit
f621076f91
89 changed files with 5161 additions and 201 deletions
11
README.md
11
README.md
|
@ -1,4 +1,4 @@
|
|||
[](http://opensource.org/licenses/BSD-3-Clause) [](https://github.com/ethauvin/akismet-kotlin/releases/latest) [](https://maven-badges.herokuapp.com/maven-central/net.thauvin.erik/akismet-kotlin) [](https://bintray.com/ethauvin/maven/akismet-kotlin/_latestVersion)
|
||||
[](http://opensource.org/licenses/BSD-3-Clause) [](https://github.com/ethauvin/akismet-kotlin/releases/latest) [](https://search.maven.org/search?q=g:%22net.thauvin.erik%22%20AND%20a:%22akismet-kotlin%22)
|
||||
|
||||
[](https://snyk.io/test/github/ethauvin/akismet-kotlin?targetFile=pom.xml) [](https://sonarcloud.io/dashboard?id=ethauvin_akismet-kotlin) [](https://travis-ci.com/ethauvin/akismet-kotlin) [](https://circleci.com/gh/ethauvin/akismet-kotlin/tree/master)
|
||||
|
||||
|
@ -56,21 +56,18 @@ if (isSpam) {
|
|||
|
||||
[View Full Example](https://github.com/ethauvin/akismet-kotlin/blob/master/examples/src/main/java/com/example/AkismetSample.java)
|
||||
|
||||
|
||||
### Gradle
|
||||
|
||||
To use with [Gradle](https://gradle.org/), include the following dependency in your [build](https://github.com/ethauvin/akismet-kotlin/blob/master/examples/build.gradle.kts) file:
|
||||
|
||||
```gradle
|
||||
repositories {
|
||||
jcenter()
|
||||
}
|
||||
|
||||
dependencies {
|
||||
implementation("net.thauvin.erik:akismet-kotlin:0.9.2")
|
||||
implementation("net.thauvin.erik:akismet-kotlin:0.9.3")
|
||||
}
|
||||
```
|
||||
|
||||
Instructions for using with Maven, Ivy, etc. can be found on [Maven Central](https://search.maven.org/artifact/net.thauvin.erik/akismet-kotlin/0.9.3/jar).
|
||||
|
||||
### HttpServletRequest
|
||||
|
||||
The more information is sent to Akismet, the more accurate the response is. An [HttpServletRequest](https://javaee.github.io/javaee-spec/javadocs/javax/servlet/http/HttpServletRequest.html) can be used as a parameter so that all the relevant information is automatically included.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue