Mercurial > public > gradleplugins
diff src/main/groovy/org/ssdt_ohio/gradle/doc/tools/UserClassDocProxy.groovy @ 20:e8e14d5d6be2
improve formatting. exclude @transient and version
author | smith@nwoca.org |
---|---|
date | Fri, 08 Jan 2016 20:16:44 +0000 |
parents | 8400a7db1330 |
children | e2d02e8742be |
line wrap: on
line diff
--- 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" } - + }