Skip to content

Commit

Permalink
Updated README examples
Browse files Browse the repository at this point in the history
  • Loading branch information
ethauvin committed May 25, 2024
1 parent 0480a72 commit 8ff15ff
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ A pretty complete and straightforward implementation of the [Automattic's Akisme
val akismet = Akismet(apiKey = "YOUR_API_KEY", blog = "YOUR_BLOG_URL")
val comment = AkismetComment(userIp = "127.0.0.1", userAgent = "curl/7.29.0").apply {
referrer = "https://www.google.com"
type = AkismetComment.TYPE_COMMENT
type = CommentType.COMMENT
author = "admin"
authorEmail = "[email protected]"
authorUrl = "https://www.CheckOutMyCoolSite.com"
Expand All @@ -45,7 +45,7 @@ final Akismet akismet = new Akismet("YOUR_API_KEY", "YOUR_BLOG_URL");
final AkismetComment comment = new AkismetComment(
new CommentConfig.Builder("127.0.0.1", "curl/7.29.0")
.referrer("https://www.google.com")
.type(Akismet.TYPE_COMMENT)
.type(CommentType.COMMENT)
.author("admin")
.authorEmail("[email protected]")
.authorUrl("https://www.CheckOutMyCoolSite.com")
Expand All @@ -71,7 +71,7 @@ To use with [bld](https://rife2.com/bld), include the following dependency in yo
repositories = List.of(MAVEN_CENTRAL, SONATYPE_SNAPSHOTS_LEGACY);

scope(compile)
.include(dependency("net.thauvin.erik:akismet-kotlin:1.0.0"));
.include(dependency("net.thauvin.erik:akismet-kotlin:1.0.1-SNAPSHOT"));
```

## Gradle
Expand All @@ -84,7 +84,7 @@ repositories {
}
dependencies {
implementation("net.thauvin.erik:akismet-kotlin:1.0.0")
implementation("net.thauvin.erik:akismet-kotlin:1.0.1-SNAPSHOT")
}
```

Expand Down

0 comments on commit 8ff15ff

Please sign in to comment.