Skip to content

Commit

Permalink
Merge pull request #18 from saschpe/dokka
Browse files Browse the repository at this point in the history
Dokka
  • Loading branch information
saschpe authored Mar 23, 2024
2 parents abac9f2 + 686fe0e commit b76e8b0
Show file tree
Hide file tree
Showing 4 changed files with 18 additions and 6 deletions.
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

0 comments on commit b76e8b0

Please sign in to comment.