Moved from Gradle to bld
This commit is contained in:
parent
7ef1c441e6
commit
d5e21dd3a1
194 changed files with 2185 additions and 1983 deletions
22
README.md
22
README.md
|
@ -1,5 +1,5 @@
|
|||
[](https://opensource.org/licenses/BSD-3-Clause)
|
||||
[](https://kotlinlang.org/)
|
||||
[](https://kotlinlang.org/)
|
||||
[](https://github.com/ethauvin/akismet-kotlin/releases/latest)
|
||||
[](https://oss.sonatype.org/content/repositories/snapshots/net/thauvin/erik/akismet-kotlin/)
|
||||
[](https://central.sonatype.com/artifact/net.thauvin.erik/akismet-kotlin)
|
||||
|
@ -37,7 +37,7 @@ if (isSpam) {
|
|||
}
|
||||
```
|
||||
|
||||
[View Full Example](https://github.com/ethauvin/akismet-kotlin/blob/master/examples/src/main/kotlin/com/example/AkismetExample.kt)
|
||||
[View Full Examples](https://github.com/ethauvin/akismet-kotlin/blob/master/examples)
|
||||
|
||||
#### Java
|
||||
|
||||
|
@ -60,11 +60,22 @@ if (isSpam) {
|
|||
}
|
||||
```
|
||||
|
||||
[View Full Example](https://github.com/ethauvin/akismet-kotlin/blob/master/examples/src/main/java/com/example/AkismetSample.java)
|
||||
[View Full Examples](https://github.com/ethauvin/akismet-kotlin/blob/master/examples)
|
||||
|
||||
### bld
|
||||
|
||||
To use with [bld](https://rife2.com/bld), include the following dependency in your [build](https://github.com/ethauvin/akismet-kotlin/blob/master/examples/bld/src/bld/java/com/example/ExampleBuild.java) file:
|
||||
|
||||
```java
|
||||
repositories = List.of(MAVEN_CENTRAL, SONATYPE_SNAPSHOTS_LEGACY);
|
||||
|
||||
scope(compile)
|
||||
.include(dependency("net.thauvin.erik:akismet-kotlin:1.0.0"));
|
||||
```
|
||||
|
||||
### 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:
|
||||
To use with [Gradle](https://gradle.org/), include the following dependency in your [build](https://github.com/ethauvin/akismet-kotlin/blob/master/examples/gradle/build.gradle.kts) file:
|
||||
|
||||
```gradle
|
||||
repositories {
|
||||
|
@ -104,5 +115,6 @@ At a latter time, the comment can then be submitted:
|
|||
akismet.submitSpam(Akismet.jsonComment(json))
|
||||
```
|
||||
|
||||
### More...
|
||||
### More…
|
||||
|
||||
If all else fails, there's always more [Documentation](https://ethauvin.github.io/akismet-kotlin/).
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue