@jw further info - the application compiles and all the functionality works as expected with the new kotlin class which replaced the java one, but when I try to create a full build of the application, any test classes that reference that new kotlin class do not compile