# HG changeset patch # User smith@nwoca.org # Date 1452284204 0 # Node ID e8e14d5d6be2144eddd40b9d67ca29a0573d8f8b # Parent c3527be50f5610018ebaca45a3472eb25d8a8de3 improve formatting. exclude @transient and version diff -r c3527be50f56 -r e8e14d5d6be2 gradle.properties --- a/gradle.properties Thu Jan 07 17:22:03 2016 +0000 +++ b/gradle.properties Fri Jan 08 20:16:44 2016 +0000 @@ -1,2 +1,2 @@ -version=0.4.0.SNAPSHOT +version=0.4.1.SNAPSHOT group=org.ssdt_ohio diff -r c3527be50f56 -r e8e14d5d6be2 src/main/groovy/org/ssdt_ohio/gradle/doc/tools/UserClassDocProxy.groovy --- a/src/main/groovy/org/ssdt_ohio/gradle/doc/tools/UserClassDocProxy.groovy Thu Jan 07 17:22:03 2016 +0000 +++ b/src/main/groovy/org/ssdt_ohio/gradle/doc/tools/UserClassDocProxy.groovy Fri Jan 08 20:16:44 2016 +0000 @@ -13,11 +13,13 @@ GroovyFieldDoc[] properties() { println "getting properties for $adaptee" getAdaptee().properties().findAll { GroovyFieldDoc p -> - !p.isTransient() + !p.isTransient() && + p.name() != 'version' && + !p.annotations().any { it.name().contains('Transient') } } } def propertyMissing(String name) { getAdaptee()."$name" } - + } diff -r c3527be50f56 -r e8e14d5d6be2 src/main/resources/org/ssdt_ohio/gradle/userdoc/templates/classDocName.html --- a/src/main/resources/org/ssdt_ohio/gradle/userdoc/templates/classDocName.html Thu Jan 07 17:22:03 2016 +0000 +++ b/src/main/resources/org/ssdt_ohio/gradle/userdoc/templates/classDocName.html Fri Jan 08 20:16:44 2016 +0000 @@ -171,7 +171,7 @@
${annotations(field, '\n')}${modifiersWithIgnore(field, false) + linkable(field.type())}
${field.commentText()}
${annotations(prop, '\n')}
${prop.commentText()}
${annotations(method, '\n')}
${method.commentText()}