Gradle won't compile the test when IdentityClient is private