The instructions for applying nebula rpm don't work

Sorry to cross-post, but I noticed after posting this on GitHub that the response times there are very spotty. Maybe here I’ll get a quicker response.

There is a problem with the old plugin syntax instructions for nebula rpm on

The “new style” instructions posted there

plugins {
  id "nebula.rpm" version "3.4.0"

do work.

But I want to do this at the parent level and there they fail because of
the “Can only be used in build scripts” restriction described on this

So I thought I would try to use the older syntax on that page, even though I am using Gradle 2.10.

buildscript {
  repositories {
    maven {
      url ""
  dependencies {
    classpath ""

apply plugin: "nebula.rpm"

This does not work:

What went wrong:
A problem occurred evaluating script.
Plugin with id ‘nebula.rpm’ not found.

I also tried switching the repository to jcenter() with the same results. How can I make this work?