From 5fe09722dbe590d6624f635093baccc6dd8973db Mon Sep 17 00:00:00 2001 From: Clemens Fries Date: Wed, 18 May 2016 23:19:03 +0200 Subject: gradle: build JavaDoc --- build.gradle | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/build.gradle b/build.gradle index 4972e36..af5675a 100644 --- a/build.gradle +++ b/build.gradle @@ -17,6 +17,15 @@ configurations { asciidoclet } +task javadocJar(type: Jar) { + classifier = 'javadoc' + from javadoc +} + +artifacts { + archives javadocJar +} + dependencies { asciidoclet 'org.asciidoctor:asciidoclet:1.+' compile group: 'org.xerial', name: 'sqlite-jdbc', version:'3.8.7' -- cgit