It seems that static analysis tools like Spotless and SpotBugs are currently being run as part of the kotlin-tests task. This causes the task to fail even when all tests pass if, for example, a checkstyle issue occurs, which can be a bit confusing.
We should separate static analysis from the test tasks to avoid redundancy and potential confusion. This way, failing tests and static analysis issues would be handled independently.
We should also use --continue to that all the tests run, even if one of the test tasks fails.