Skip to content
This repository was archived by the owner on May 25, 2022. It is now read-only.

Commit aea3ced

Browse files
committed
Update common-build-script.gradle.kts
1 parent f9a3e86 commit aea3ced

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

buildSrc/src/main/kotlin/common-build-script.gradle.kts

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -50,10 +50,14 @@ kotlin {
5050
* BUILD
5151
*/
5252

53-
// JVM VERSION
5453

55-
java.sourceCompatibility = jvmVersion
56-
java.targetCompatibility = jvmVersion
54+
java {
55+
java.sourceCompatibility = jvmVersion
56+
java.targetCompatibility = jvmVersion
57+
58+
withSourcesJar()
59+
withJavadocJar()
60+
}
5761

5862
tasks.withType<KotlinCompile> {
5963
kotlinOptions.jvmTarget = jvmVersionString

0 commit comments

Comments
 (0)