Only enable verbose exceptions for tests. (#1240)
Only enable verbose exceptions for tests. (#1240)

Currently, verbose exceptions are enabled for all Java executions. This even applies to manual execution with the Gradle runner in IntelliJ, and when doing profiling, it causes the profiles to have extra noise. Now only test have verbose exceptions enabled, which is probably where they are useful.

Also fix leak property should be read from rootProject as with all gradle properties AFAIU. I recall us not getting leak traces at some point maybe related to this.
minwoox/armeria,anuraaga/armeria,jmostella/armeria,anuraaga/armeria,kojilin/armeria,minwoox/armeria,jmostella/armeria,trustin/armeria,trustin/armeria,dongjinleekr/armeria,anuraaga/armeria,trustin/armeria,jmostella/armeria,dongjinleekr/armeria,kojilin/armeria,kojilin/armeria,line/armeria,anuraaga/armeria,line/armeria,minwoox/armeria,anuraaga/armeria,minwoox/armeria,trustin/armeria,dongjinleekr/armeria,line/armeria,kojilin/armeria,trustin/armeria,trustin/armeria,line/armeria,minwoox/armeria,jmostella/armeria,line/armeria,line/armeria,jmostella/armeria,kojilin/armeria,anuraaga/armeria,kojilin/armeria,dongjinleekr/armeria,dongjinleekr/armeria,minwoox/armeria