Skip to content

Commit

Permalink
Gradle: Remove the Javadoc task
Browse files Browse the repository at this point in the history
It does not play well with Multiplatform and Android plugins applied.
Going forward, dokka will be used. Currently, it doesn't support
Javadoc in multiplatform projects either
  • Loading branch information
saschpe committed Sep 14, 2023
1 parent 57a61f3 commit 1ace914
Showing 1 changed file with 2 additions and 12 deletions.
14 changes: 2 additions & 12 deletions kase64/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -34,17 +34,13 @@ kotlin {
}
}

java {
toolchain {
languageVersion.set(JavaLanguageVersion.of(17))
}
}
java.toolchain.languageVersion.set(JavaLanguageVersion.of(17))

android {
compileSdk = 33
namespace = "saschpe.kase64"

defaultConfig {
compileSdk = 33
minSdk = 17
}

Expand All @@ -54,14 +50,8 @@ android {
group = "de.peilicke.sascha"
version = "1.0.7"

val javadocJar by tasks.registering(Jar::class) {
archiveClassifier.set("javadoc")
}

publishing {
publications.withType<MavenPublication> {
artifact(javadocJar.get())

pom {
name.set("Kase64")
description.set("Base64 encoder/decoder for Kotlin/Multiplatform. Supports Android, iOS, JavaScript and plain JVM environments.")
Expand Down

0 comments on commit 1ace914

Please sign in to comment.