diff --git a/build.gradle.kts b/build.gradle.kts index 4778d20..4e7867e 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -99,8 +99,16 @@ tasks { getByName("compileKotlin"), getByName("javadoc"), getByName("dokkaJavadoc"), - getByName("inspectClassesForKotlinIC") + getByName("inspectClassesForKotlinIC"), + getByName("javadocJar"), + getByName("sourcesJar") ) + findByName("generateMetadataFileForPluginMavenPublication")?.let { + dependsOn(it) + } + findByName("generatePomFileForPluginMavenPublication")?.let { + dependsOn(it) + } } // use JUnit Jupiter