Extra tips to introspect object properties.
authorOleksandr Gavenko <gavenkoa@gmail.com>
Sun, 22 Nov 2020 22:23:50 +0200
changeset 2467 0498f0cc9966
parent 2466 ebbf146d86c1
child 2468 cab0464c11f4
Extra tips to introspect object properties.
gradle.rst
--- 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.