aboutsummaryrefslogtreecommitdiff
path: root/build.gradle.kts
diff options
context:
space:
mode:
authorsebastian.sellmair <sebastian.sellmair@jetbrains.com>2020-07-08 17:09:41 +0200
committerSebastian Sellmair <34319766+sellmair@users.noreply.github.com>2020-07-09 09:24:52 +0200
commit1b8030d4b8d4b83e35c91632694fb32fcb58a02d (patch)
treeb266352658c943159065f5bde252a7a63b99a9aa /build.gradle.kts
parent4ba7ec9facb26c5ae0b0dd434e07c4af728f277a (diff)
downloaddokka-1b8030d4b8d4b83e35c91632694fb32fcb58a02d.tar.gz
dokka-1b8030d4b8d4b83e35c91632694fb32fcb58a02d.tar.bz2
dokka-1b8030d4b8d4b83e35c91632694fb32fcb58a02d.zip
Implement PublicationValidation
Diffstat (limited to 'build.gradle.kts')
-rw-r--r--build.gradle.kts6
1 files changed, 4 insertions, 2 deletions
diff --git a/build.gradle.kts b/build.gradle.kts
index ee17ba75..7cc0394f 100644
--- a/build.gradle.kts
+++ b/build.gradle.kts
@@ -1,3 +1,4 @@
+import org.jetbrains.ValidatePublications
import org.jetbrains.configureDokkaVersion
import org.jetbrains.kotlin.gradle.tasks.KotlinCompile
@@ -45,8 +46,6 @@ subprojects {
}
}
-println("Publication version: $dokka_version")
-
// Workaround for https://github.com/bintray/gradle-bintray-plugin/issues/267
// Manually disable bintray tasks added to the root project
tasks.whenTaskAdded {
@@ -54,3 +53,6 @@ tasks.whenTaskAdded {
enabled = false
}
}
+
+println("Publication version: $dokka_version")
+tasks.register<ValidatePublications>("validatePublications")