From e5ee148ec8a46fbaeece63697c978650ba11c730 Mon Sep 17 00:00:00 2001 From: Michael Bull Date: Sat, 21 Oct 2017 22:10:13 +0100 Subject: [PATCH] Publish javadoc --- build.gradle | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/build.gradle b/build.gradle index f29ea3a..7b81067 100644 --- a/build.gradle +++ b/build.gradle @@ -37,14 +37,14 @@ compileTestKotlin { } dokka { - outputFormat = 'html' + outputFormat = 'javadoc' outputDirectory = "$buildDir/docs" } -task kdocJar(type: Jar, dependsOn: dokka) { +task javadocJar(type: Jar, dependsOn: dokka) { group = LifecycleBasePlugin.BUILD_GROUP - description = 'Assembles a jar archive containing the KDoc API documentation.' - classifier = 'kdoc' + description = 'Assembles a jar archive containing the Javadoc API documentation.' + classifier = 'javadoc' from dokka.outputDirectory } @@ -59,7 +59,7 @@ publishing { publications { mavenJava(MavenPublication) { from components.java - artifact kdocJar + artifact javadocJar artifact sourcesJar } }