Skip to content

Commit

Permalink
Generate javadoc jar and sources jar for maven central
Browse files Browse the repository at this point in the history
  • Loading branch information
slinkydeveloper committed Sep 9, 2024
1 parent 5e953b6 commit f2bc595
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions buildSrc/src/main/kotlin/kotlin-conventions.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,11 @@ plugins {
id("com.diffplug.spotless")
}

kotlin {
jvmToolchain(11)
java {
toolchain { languageVersion = JavaLanguageVersion.of(11) }

withJavadocJar()
withSourcesJar()
}

tasks.withType<Test> { useJUnitPlatform() }
Expand Down

0 comments on commit f2bc595

Please sign in to comment.