I tried to check the whole license header (with an external file) but it didn't work with all envirements (gradle, IDEA and Eclipse).