Mercurial > public > gradleplugins
diff src/main/groovy/org/ssdt_ohio/gradle/tasks/UserDoc.groovy @ 17:3741247de37a
USASR-1307: add helper to resolve template classpath problem
author | smith@nwoca.org |
---|---|
date | Thu, 01 Jan 2015 00:01:02 +0000 |
parents | e3c55e83c9a4 |
children | b14418c2ce40 |
line wrap: on
line diff
--- a/src/main/groovy/org/ssdt_ohio/gradle/tasks/UserDoc.groovy Wed Dec 31 22:35:45 2014 +0000 +++ b/src/main/groovy/org/ssdt_ohio/gradle/tasks/UserDoc.groovy Thu Jan 01 00:01:02 2015 +0000 @@ -13,6 +13,7 @@ import org.gradle.api.tasks.OutputDirectory import org.gradle.api.tasks.SourceTask import org.gradle.api.tasks.TaskAction +import org.ssdt_ohio.gradle.doc.tools.UserDocHelper class UserDoc extends SourceTask { @@ -71,7 +72,8 @@ // properties.setProperty("overviewFile", overviewFile != null ? overviewFile.getAbsolutePath() : ""); // properties.setProperty("charset", charset != null ? charset : ""); // properties.setProperty("fileEncoding", fileEncoding != null ? fileEncoding : ""); -// + + properties.put('userdocHelper',new UserDocHelper()) def tool = new GroovyDocTool(new ClasspathResourceManager(this.getClass().getClassLoader()), [tmpDir.getPath()] as String[],