diff options
author | sebastian.sellmair <sebastian.sellmair@jetbrains.com> | 2020-07-08 17:09:41 +0200 |
---|---|---|
committer | Sebastian Sellmair <34319766+sellmair@users.noreply.github.com> | 2020-07-09 09:24:52 +0200 |
commit | 1b8030d4b8d4b83e35c91632694fb32fcb58a02d (patch) | |
tree | b266352658c943159065f5bde252a7a63b99a9aa /build.gradle.kts | |
parent | 4ba7ec9facb26c5ae0b0dd434e07c4af728f277a (diff) | |
download | dokka-1b8030d4b8d4b83e35c91632694fb32fcb58a02d.tar.gz dokka-1b8030d4b8d4b83e35c91632694fb32fcb58a02d.tar.bz2 dokka-1b8030d4b8d4b83e35c91632694fb32fcb58a02d.zip |
Implement PublicationValidation
Diffstat (limited to 'build.gradle.kts')
-rw-r--r-- | build.gradle.kts | 6 |
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") |