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.