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 https://plugins.gradle.org/plugin/nebula.rpm
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
page.
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 "https://plugins.gradle.org/m2/"
}
}
dependencies {
classpath "com.netflix.nebula:gradle-ospackage-plugin:3.4.0"
}
}
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?