Building Rpm using this but getting issue from new OS old OS in the sense like ubuntu 16 is fine ubuntu18 is giving issue like below
What went wrong:
Plugin [id: ‘nebula.ospackage’, version: ‘8.0.3’] was not found in any of the following sources:
Gradle Core Plugins (plugin is not in ‘org.gradle’ namespace)
Plugin Repositories (could not resolve plugin artifact ‘nebula.ospackage:nebula.ospackage.gradle.plugin:8.0.3’)
Searched in the following repositories:
Gradle Central Plugin Repository
it is working with this
buildscript {
repositories {
maven {
url “mylocalmvn”
}
}
dependencies {
classpath “com.netflix.nebula:gradle-ospackage-plugin:8.0.3”
}
}
Does it show more information before the actual failure message?
Maybe if you enable --info logging?
The plugin should resolve fine from the plugin portal repository.