From fe8409ea3ebbb34058eeb5c2f0a6977b8a421686 Mon Sep 17 00:00:00 2001 From: Andreas Fitzek Date: Wed, 5 Feb 2014 10:19:00 +0100 Subject: Added API Documentation and Full Documentation --- pdf-as-lib/build.gradle | 19 ++++++++++++++++++- 1 file changed, 18 insertions(+), 1 deletion(-) (limited to 'pdf-as-lib') diff --git a/pdf-as-lib/build.gradle b/pdf-as-lib/build.gradle index 788c6361..43e31242 100644 --- a/pdf-as-lib/build.gradle +++ b/pdf-as-lib/build.gradle @@ -80,7 +80,7 @@ task apidocs(type: Javadoc) { classpath = configurations.compile source = sourceSets.main.allJava project.configure(options) { - destinationDir = new File(projectDir, '../docs') + destinationDir = new File(projectDir, '../docs/api') memberLevel = org.gradle.external.javadoc.JavadocMemberLevel.PROTECTED charSet = "ISO-8859-1" docTitle = "PDF-AS " + pdfasversion + " Documentation" @@ -93,6 +93,23 @@ task apidocs(type: Javadoc) { } } +task fulldocs(type: Javadoc) { + classpath = configurations.compile + source = sourceSets.main.allJava + project.configure(options) { + destinationDir = new File(projectDir, '../docs/full') + memberLevel = org.gradle.external.javadoc.JavadocMemberLevel.PROTECTED + charSet = "ISO-8859-1" + docTitle = "PDF-AS " + pdfasversion + " Documentation" + version = pdfasversion + include = include('at/gv/egiz/**') + windowTitle = "PDF-AS " + pdfasversion + " Library" + header = "PDF-AS " + pdfasversion + " Library " + pdfasversion + " [" + revision + "]" + use = "true" + links("http://java.sun.com/j2ee/1.4/docs/api", "http://java.sun.com/j2se/1.5.0/docs/api") + } +} + /*task apidocspdf(type: Javadoc) { classpath = configurations.compile source = sourceSets.main.allJava -- cgit v1.2.3