Skip to content

Commit f2bc595

Browse files
Generate javadoc jar and sources jar for maven central
1 parent 5e953b6 commit f2bc595

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

buildSrc/src/main/kotlin/kotlin-conventions.gradle.kts

+5-2
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,11 @@ plugins {
44
id("com.diffplug.spotless")
55
}
66

7-
kotlin {
8-
jvmToolchain(11)
7+
java {
8+
toolchain { languageVersion = JavaLanguageVersion.of(11) }
9+
10+
withJavadocJar()
11+
withSourcesJar()
912
}
1013

1114
tasks.withType<Test> { useJUnitPlatform() }

0 commit comments

Comments
 (0)