GROOVY-6346: allow package keyword to appear in select places
try to fix CI build for jdk15