12/26/2020, 4:01 PM
if I change a class, how does the kotlin compiler (or gradle) decide if it also should compile classes that use that class? I want to build a test runner that automatically runs tests for all changed classes, and i thought that test classes will also be compiled when i change a class, but it seems that the compiler is too clever and only compiles the test if the interface of the used class changes.