Skip to content

Commit c9cf687

Browse files
Whatever gradle wants
1 parent dbe222b commit c9cf687

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

sdk-common/build.gradle.kts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
import org.jetbrains.dokka.gradle.AbstractDokkaTask
2+
import org.jetbrains.kotlin.gradle.tasks.KotlinCompile
23

34
plugins {
45
`java-library`
@@ -83,6 +84,7 @@ val generateVersionClass =
8384

8485
tasks {
8586
withType<JavaCompile>().configureEach { dependsOn(generateVersionClass) }
87+
withType<KotlinCompile>().configureEach { dependsOn(generateVersionClass) }
8688
withType<org.gradle.jvm.tasks.Jar>().configureEach { dependsOn(generateVersionClass) }
8789
withType<AbstractDokkaTask>().configureEach { dependsOn(generateVersionClass) }
8890
}

0 commit comments

Comments
 (0)