The last one looks sensible. Just try to remove the id "nebula.rpm" version "3.4.1" line and add the following one at the bottom (outside the plugins block):
apply plugin: "nebula.rpm"
The last one looks sensible. Just try to remove the id "nebula.rpm" version "3.4.1" line and add the following one at the bottom (outside the plugins block):
apply plugin: "nebula.rpm"