From d791b89fb00c9f9e58e46b7b013b33110027876f Mon Sep 17 00:00:00 2001 From: David Bieregger Date: Sun, 8 Sep 2024 14:21:34 +0200 Subject: [PATCH] Make ContextlessHtmlBuilder public --- buildSrc/src/main/kotlin/maven-publish-script.gradle.kts | 4 +--- .../kotlin/at/quickme/kotlinmailer/html/EmailBuilderHtml.kt | 2 +- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/buildSrc/src/main/kotlin/maven-publish-script.gradle.kts b/buildSrc/src/main/kotlin/maven-publish-script.gradle.kts index 0bee56f..2481327 100644 --- a/buildSrc/src/main/kotlin/maven-publish-script.gradle.kts +++ b/buildSrc/src/main/kotlin/maven-publish-script.gradle.kts @@ -69,12 +69,10 @@ mavenPublishing { tasks.withType().configureEach { dokkaSourceSets.configureEach { - displayName.set("kotlinmailer-$name") documentedVisibilities.set(setOf(Visibility.PUBLIC, Visibility.PROTECTED)) - // Read docs for more details: https://kotlinlang.org/docs/dokka-gradle.html#source-link-configuration sourceLink { - val exampleDir = "https://github.com/$githubProject/tree/master/packages" + val exampleDir = "https://github.com/$githubProject/tree/master/" localDirectory.set(rootProject.projectDir) remoteUrl.set(URI(exampleDir).toURL()) diff --git a/packages/html/src/main/kotlin/at/quickme/kotlinmailer/html/EmailBuilderHtml.kt b/packages/html/src/main/kotlin/at/quickme/kotlinmailer/html/EmailBuilderHtml.kt index 212948e..e3a8112 100644 --- a/packages/html/src/main/kotlin/at/quickme/kotlinmailer/html/EmailBuilderHtml.kt +++ b/packages/html/src/main/kotlin/at/quickme/kotlinmailer/html/EmailBuilderHtml.kt @@ -4,7 +4,7 @@ import kotlinx.html.TagConsumer import kotlinx.html.stream.appendHTML import org.simplejavamail.api.email.EmailPopulatingBuilder -private typealias ContextlessHtmlBuilder = TagConsumer.() -> StringBuilder +typealias ContextlessHtmlBuilder = TagConsumer.() -> StringBuilder /** * Set the html of the message.