Yes, I had the version set. I have checked it twice before post the question. The difference in build.gradle was that I added 'kotlin-spring', 'kotlin-jpa', 'kotlin-noarg' plugins and it compiled, one day later it crashed in the way that I shared with you.
But I believe that it has not relation.