Mercurial > public > gradleplugins
diff src/main/groovy/org/ssdt_ohio/gradle/tasks/UserDoc.groovy @ 14:9de72de14ab3
USASR-1307: customize CSS and override class template
author | Dave Smith <smith@nwoca.org> |
---|---|
date | Tue, 10 Dec 2013 23:24:56 +0000 |
parents | a628135958e7 |
children | e3c55e83c9a4 |
line wrap: on
line diff
--- a/src/main/groovy/org/ssdt_ohio/gradle/tasks/UserDoc.groovy Tue Dec 10 22:53:57 2013 +0000 +++ b/src/main/groovy/org/ssdt_ohio/gradle/tasks/UserDoc.groovy Tue Dec 10 23:24:56 2013 +0000 @@ -3,6 +3,7 @@ import org.codehaus.groovy.tools.groovydoc.ClasspathResourceManager import org.codehaus.groovy.tools.groovydoc.FileOutputTool import org.codehaus.groovy.tools.groovydoc.GroovyDocTool +import org.codehaus.groovy.tools.groovydoc.OutputTool import org.codehaus.groovy.tools.groovydoc.gstringTemplates.GroovyDocTemplateInfo import org.gradle.api.InvalidUserDataException import org.gradle.api.file.FileCollection @@ -149,7 +150,7 @@ * {@link GroovyDocTemplateInfo#DEFAULT_PACKAGE_TEMPLATES}. */ protected String[] getPackageTemplates() { - return GroovyDocTemplateInfo.DEFAULT_PACKAGE_TEMPLATES; + return UserDocTemplateInfo.DEFAULT_PACKAGE_TEMPLATES; } /** @@ -161,7 +162,7 @@ * {@link GroovyDocTemplateInfo#DEFAULT_DOC_TEMPLATES}. */ protected String[] getDocTemplates() { - return GroovyDocTemplateInfo.DEFAULT_DOC_TEMPLATES; + return UserDocTemplateInfo.DEFAULT_DOC_TEMPLATES; } /** @@ -173,6 +174,6 @@ * {@link GroovyDocTemplateInfo#DEFAULT_CLASS_TEMPLATES}. */ protected String[] getClassTemplates() { - return GroovyDocTemplateInfo.DEFAULT_CLASS_TEMPLATES; + return UserDocTemplateInfo.DEFAULT_CLASS_TEMPLATES; } }