Old plugin syntax not working in gradle 4.0

A little further research shows that this isn’t working for over 5 years…

Well, at least the plugin block is planned to work outside the build.gradle file sooner or later…