Skip to content

Commit

Permalink
Merge pull request #27 from RedMadRobot/feature/disable-javadoc-gener…
Browse files Browse the repository at this point in the history
…ation

disable javadoc generation
  • Loading branch information
AleksandrTabolin authored Sep 2, 2024
2 parents f252707 + da003a1 commit cc62bf3
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions buildSrc/src/main/kotlin/convention-publish.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
import com.redmadrobot.build.dsl.*
import com.vanniktech.maven.publish.AndroidSingleVariantLibrary
import com.vanniktech.maven.publish.JavadocJar
import com.vanniktech.maven.publish.KotlinJvm
import com.vanniktech.maven.publish.SonatypeHost

plugins {
Expand All @@ -8,6 +11,8 @@ plugins {
mavenPublishing {
publishToMavenCentral(SonatypeHost.CENTRAL_PORTAL, automaticRelease = true)
signAllPublications()
// disable Javadoc because of Dokka / JDK 17: "PermittedSubclasses requires ASM9" during compilation
configure(AndroidSingleVariantLibrary(variant = "release", sourcesJar = true, publishJavadocJar = false,))

pom {
name.convention(project.name)
Expand Down

0 comments on commit cc62bf3

Please sign in to comment.