Can't make multi-project example work

Hi forum

I’m trying to mirror the example given on the page Declaring Dependencies between Subprojects

I’m not sure if the example code is complete, but I have added the file “buildSrc/src/main/groovy/” to my project. Then in another subproject (shared) I have added a build.gradle file containing:

plugins {
    id ''

First of all the example doesn’t tell me to include a build.gradle file under buildSrc, but without one no plugin.jar is build. If I add a build.gradle file a plugin-jar is build, but apparently it’s empty.

The build of the multi-project then fails with this error:

Plugin [id: ''] was not found in any of the following sources:

Is the example page incomplete or what am I missing?