diff --git a/src/main/kotlin/ru/mipt/npm/gradle/KScienceProjectPlugin.kt b/src/main/kotlin/ru/mipt/npm/gradle/KScienceProjectPlugin.kt index 23bde44..93467b7 100644 --- a/src/main/kotlin/ru/mipt/npm/gradle/KScienceProjectPlugin.kt +++ b/src/main/kotlin/ru/mipt/npm/gradle/KScienceProjectPlugin.kt @@ -11,7 +11,6 @@ import org.jetbrains.changelog.ChangelogPlugin import org.jetbrains.changelog.ChangelogPluginExtension import org.jetbrains.dokka.gradle.AbstractDokkaTask import org.jetbrains.dokka.gradle.DokkaPlugin -import org.jetbrains.dokka.gradle.DokkaTask import ru.mipt.npm.gradle.internal.* private fun Project.allTasks(): Set = allprojects.flatMapTo(HashSet()) { it.tasks } @@ -167,7 +166,8 @@ public open class KScienceProjectPlugin : Plugin { } } } - tasks.withType { + + tasks.withType { dependsOn(generateReadme) } }