JUnit test results location change between Gradle 2.11 and 3.1?

The change is documented in gradle 3.0 release note.One way to get around this documented in here.