changeset 2467:0498f0cc9966

Extra tips to introspect object properties.
author Oleksandr Gavenko <gavenkoa@gmail.com>
date Sun, 22 Nov 2020 22:23:50 +0200
parents ebbf146d86c1
children cab0464c11f4
files gradle.rst
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/gradle.rst	Sat Nov 21 21:55:33 2020 +0200
+++ b/gradle.rst	Sun Nov 22 22:23:50 2020 +0200
@@ -83,6 +83,8 @@
   println it.metaClass.metaMethods*.name.sort().unique()
   println it.metaClass.methods*.name.sort().unique()
   println it.properties.entrySet()*.toString().sort().toString().replaceAll(", ","\n")
+  println it.properties.toString()
+  println it.dump()
 
 https://docs.gradle.org/current/userguide/troubleshooting.html
   Attaching a debugger to your build.