From 900371cc83529b14d3d9b6bbdd1efde2f6a3fcbf Mon Sep 17 00:00:00 2001 From: "Erik C. Thauvin" Date: Sun, 24 Sep 2023 18:09:24 -0700 Subject: [PATCH] Cleanup before 1.0 release --- README.md | 4 +- build.gradle.kts | 5 +- config/dokka/packages.md | 1 - .../-akismet-comment/-akismet-comment.html | 55 +- .../-companion/-a-d-m-i-n_-r-o-l-e.html | 55 +- .../-t-y-p-e_-b-l-o-g_-p-o-s-t.html | 55 +- .../-companion/-t-y-p-e_-c-o-m-m-e-n-t.html | 55 +- .../-t-y-p-e_-c-o-n-t-a-c-t_-f-o-r-m.html | 55 +- .../-t-y-p-e_-f-o-r-u-m_-p-o-s-t.html | 55 +- .../-companion/-t-y-p-e_-m-e-s-s-a-g-e.html | 55 +- .../-companion/-t-y-p-e_-p-i-n-g-b-a-c-k.html | 55 +- .../-companion/-t-y-p-e_-r-e-p-l-y.html | 55 +- .../-companion/-t-y-p-e_-s-i-g-n-u-p.html | 55 +- .../-t-y-p-e_-t-r-a-c-k-b-a-c-k.html | 55 +- .../-companion/-t-y-p-e_-t-w-e-e-t.html | 55 +- .../-akismet-comment/-companion/index.html | 279 ++--- .../-akismet-comment/author-email.html | 55 +- .../-akismet-comment/author-url.html | 55 +- .../-akismet-comment/author.html | 55 +- .../-akismet-comment/blog-charset.html | 55 +- .../-akismet-comment/blog-lang.html | 55 +- .../-akismet-comment/content.html | 55 +- .../-akismet-comment/date-gmt.html | 55 +- .../-akismet-comment/equals.html | 55 +- .../-akismet-comment/hash-code.html | 55 +- .../-akismet-comment/index.html | 598 +++++----- .../-akismet-comment/is-test.html | 55 +- .../-akismet-comment/permalink.html | 55 +- .../-akismet-comment/post-modified-gmt.html | 55 +- .../-akismet-comment/recheck-reason.html | 55 +- .../-akismet-comment/referrer.html | 55 +- .../-akismet-comment/server-env.html | 55 +- .../-akismet-comment/to-json.html | 55 +- .../-akismet-comment/to-string.html | 55 +- .../-akismet-comment/type.html | 55 +- .../-akismet-comment/user-agent.html | 55 +- .../-akismet-comment/user-ip.html | 55 +- .../-akismet-comment/user-role.html | 55 +- .../-akismet/-akismet.html | 55 +- .../-akismet/-companion/date-to-gmt.html | 55 +- .../-akismet/-companion/index.html | 99 +- .../-akismet/-companion/json-comment.html | 55 +- .../-akismet/app-user-agent.html | 55 +- .../-akismet/blog.html | 55 +- .../-akismet/check-comment.html | 55 +- .../-akismet/debug-help.html | 55 +- .../-akismet/error-message.html | 55 +- .../-akismet/execute-method.html | 55 +- .../-akismet/http-status-code.html | 55 +- .../-akismet/index.html | 514 ++++---- .../-akismet/is-discard.html | 55 +- .../-akismet/is-verified-key.html | 55 +- .../-akismet/logger.html | 55 +- .../-akismet/pro-tip.html | 55 +- .../-akismet/reset.html | 55 +- .../-akismet/response.html | 55 +- .../-akismet/submit-ham.html | 55 +- .../-akismet/submit-spam.html | 55 +- .../-akismet/verify-key.html | 55 +- .../net.thauvin.erik.akismet/index.html | 99 +- docs/images/burger.svg | 5 + docs/images/nav-icons/typealias-kotlin.svg | 9 + docs/images/theme-toggle.svg | 5 +- docs/index.html | 60 +- docs/scripts/main.js | 2 +- docs/scripts/pages.json | 2 +- docs/scripts/platform-content-handler.js | 68 +- docs/styles/font-jb-sans-auto.css | 32 + docs/styles/logo-styles.css | 18 +- docs/styles/main.css | 2 +- docs/styles/style.css | 1042 ++++++++++------- examples/build.gradle.kts | 2 +- pom.xml | 8 +- version.properties | 10 +- 74 files changed, 3309 insertions(+), 2415 deletions(-) create mode 100644 docs/images/burger.svg create mode 100644 docs/images/nav-icons/typealias-kotlin.svg create mode 100644 docs/styles/font-jb-sans-auto.css diff --git a/README.md b/README.md index b82b45f..fb401bc 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,7 @@ [![License (3-Clause BSD)](https://img.shields.io/badge/license-BSD%203--Clause-blue.svg?style=flat-square)](https://opensource.org/licenses/BSD-3-Clause) +[![Kotlin](https://img.shields.io/badge/kotlin-1.9.10-7f52ff)](https://kotlinlang.org/) [![Release](https://img.shields.io/github/release/ethauvin/akismet-kotlin.svg)](https://github.com/ethauvin/akismet-kotlin/releases/latest) +[![Nexus Snapshot](https://img.shields.io/nexus/s/net.thauvin.erik/akismet-kotlin?label=snapshot&server=https%3A%2F%2Foss.sonatype.org%2F)](https://oss.sonatype.org/content/repositories/snapshots/net/thauvin/erik/akismet-kotlin/) [![Maven Central](https://img.shields.io/maven-central/v/net.thauvin.erik/akismet-kotlin.svg?color=blue)](https://central.sonatype.com/artifact/net.thauvin.erik/akismet-kotlin) [![Quality Gate Status](https://sonarcloud.io/api/project_badges/measure?project=ethauvin_akismet-kotlin&metric=alert_status)](https://sonarcloud.io/dashboard?id=ethauvin_akismet-kotlin) @@ -70,7 +72,7 @@ repositories { } dependencies { - implementation("net.thauvin.erik:akismet-kotlin:0.9.3") + implementation("net.thauvin.erik:akismet-kotlin:1.0.0") } ``` diff --git a/build.gradle.kts b/build.gradle.kts index e6a33fc..5bd9fb7 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -59,6 +59,7 @@ dependencies { implementation("com.squareup.okhttp3:okhttp:${Versions.OKHTTP}") + implementation("com.squareup.okio:okio:3.5.0") implementation("com.squareup.okhttp3:logging-interceptor:${Versions.OKHTTP}") implementation("org.jetbrains.kotlinx:kotlinx-serialization-json:1.6.0") @@ -189,7 +190,7 @@ tasks { register("deploy") { description = "Copies all needed files to the $deployDir directory." group = PublishingPlugin.PUBLISH_TASK_GROUP - dependsOn(clean, wrapper, build, jar) + dependsOn(clean, build, jar) outputs.dir(deployDir) inputs.files(copyToDeploy) mustRunAfter(clean) @@ -213,7 +214,7 @@ tasks { register("release") { description = "Publishes version ${project.version} to local repository." group = PublishingPlugin.PUBLISH_TASK_GROUP - dependsOn(wrapper, "deploy", gitTag, publishToMavenLocal) + dependsOn(dokkaHtml, "deploy", gitTag, publishToMavenLocal) } } diff --git a/config/dokka/packages.md b/config/dokka/packages.md index 688738d..138c3a1 100644 --- a/config/dokka/packages.md +++ b/config/dokka/packages.md @@ -6,4 +6,3 @@ A Kotlin/Java library for accessing the Akismet service. - diff --git a/docs/akismet-kotlin/net.thauvin.erik.akismet/-akismet-comment/-akismet-comment.html b/docs/akismet-kotlin/net.thauvin.erik.akismet/-akismet-comment/-akismet-comment.html index c644536..af49898 100644 --- a/docs/akismet-kotlin/net.thauvin.erik.akismet/-akismet-comment/-akismet-comment.html +++ b/docs/akismet-kotlin/net.thauvin.erik.akismet/-akismet-comment/-akismet-comment.html @@ -1,10 +1,11 @@ - + AkismetComment + + - + @@ -32,38 +34,47 @@ -