Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dokka #18

Merged
merged 2 commits into from
Mar 23, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]

## [1.1.1] - 2024-03-23
- Provide javadoc artifacts for Sonatype Maven Central

## [1.1.0] - 2023-09-14
### Changed
- Apple: Add targets for `tvOS` and `watchOS` and `macOS`
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ repositories {
}

dependencies {
implementation("de.peilicke.sascha:kase64:1.1.0")
implementation("de.peilicke.sascha:kase64:1.1.1")
}
```

Expand Down
16 changes: 13 additions & 3 deletions kase64/build.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
plugins {
kotlin("multiplatform")
id("com.android.library")
id("org.jetbrains.dokka")
`maven-publish`
signing
}
Expand All @@ -20,8 +21,10 @@ kotlin {

applyDefaultHierarchyTemplate()

sourceSets["commonTest"].dependencies {
implementation(kotlin("test"))
sourceSets {
commonTest.dependencies {
implementation(kotlin("test"))
}
}
}

Expand All @@ -39,10 +42,17 @@ android {
}

group = "de.peilicke.sascha"
version = "1.1.0"
version = "1.1.1"

publishing {
publications.withType<MavenPublication> {
artifact(project.tasks.register("${name}DokkaJar", Jar::class) {
group = JavaBasePlugin.DOCUMENTATION_GROUP
description = "Assembles Kotlin docs with Dokka into a Javadoc jar"
archiveClassifier.set("javadoc")
from(tasks.named("dokkaHtml"))
archiveBaseName.set("${archiveBaseName.get()}-$name")
})
pom {
name.set("Kase64")
description.set("Base64 encoder/decoder for Kotlin/Multiplatform. Supports Android, iOS, JavaScript and plain JVM environments.")
Expand Down
3 changes: 1 addition & 2 deletions settings.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,7 @@ pluginManagement {
plugins {
kotlin("multiplatform") version "1.9.23"
id("com.android.library") version "8.2.2"
`maven-publish`
signing
id("org.jetbrains.dokka") version "1.9.20"
}
}

Expand Down
Loading