Questions tagged [netflix-nebula-plugins]

Anything related to Nebula plugins collection by Netflix

Nebula is a collection of Gradle plugins built by Netflix

http://nebula-plugins.github.io/

17 questions
84
votes
9 answers

In gradle, how to use a variable for a plugin version?

One of my build scripts imports that nebula plugin: plugins { id 'nebula.ospackage' version '3.5.0' } I've been moving all of my version info into a separate file that all projects have access to and am wondering what is the correct syntax to…
crobicha
  • 1,674
  • 1
  • 16
  • 21
4
votes
0 answers

Nebula Gradlelint with mutli-project build reports too much with spring dependency management plugin

I have a multi-module project using Java, Gradle and spring boot. In order to figure out whether I have any unused dependencies that I can cleanup I tried to use the Nebula Gradle Lint Plugin to find unused or undeclared dependencies. I try to it as…
peach
  • 657
  • 5
  • 26
4
votes
1 answer

Adding cloud-contracts dependency breaks nebula.release plugin

I'm encountering a weird error, I want to use the nebula.release plugin in Gradle. I'fe had success adding it both of the following ways: plugins { id 'nebula.release' version '6.3.5' } and dependencies { classpath…
Bill L
  • 2,576
  • 4
  • 28
  • 55
3
votes
1 answer

How to trigger Artifactory build retention from gradle

Is it possible to set build retention on Artifactory using gradle using the netflix nebula plugins? I've searched the Internet and all I've been able to find is how to set build retention using Jenkins pipeline: buildInfo.retention maxBuilds:…
2
votes
0 answers

Failed to apply plugin class 'nebula.plugin.release.ReleasePlugin'

Trying to build micrometer version 1.5.9. Getting following error:- Where: Build file '/Users/abc/Desktop/micrometer/build.gradle' line: 29 What went wrong: A problem occurred evaluating root project 'micrometer'. Failed to apply plugin class…
Nik
  • 31
  • 5
2
votes
0 answers

nebula.release plugin attempts to push root project to bintray

I am having trouble getting my library deployed to bintray and synced to Maven Central. It appears that I'm using the plugin wrong, but I cannot figure out how. I've tried many things including using the kotlin gradle dsl, extracting logic out of…
snowe
  • 1,312
  • 1
  • 20
  • 41
1
vote
1 answer

gradle-nebula create but don't push git tag

I am maintaining a project using gradle with nebula for release and semver. For various reasons, I want to prevent the nebula plugin (gradle clean final) to push the created git tag by itself and delegate this into another place in my (jenkins)…
nymvno
  • 370
  • 5
  • 19
1
vote
1 answer

Nebula ospackage does not respect dirMode

I have the following buildscript and I need to force directory permissions and create an empty directory. I found on many places that the following code should work, but it does not. Any hints whats wrong? buildscript { dependencies { …
malejpavouk
  • 4,297
  • 6
  • 41
  • 67
1
vote
1 answer

Using the nebula.os-package plugin, how to specify package architecture

I'm building a native code package with the nebula.os-package plugin for gradle. I need to specify that glibc of the correct architecture is a requirement. I tried the obvious requires 'glibc%{?_isa}' but then rpm -qpR foo.rpm unhelpfully…
Lee Short
  • 11
  • 3
0
votes
0 answers

multiple release versions with nebula

Is it possible to have multiple release git branches with the own release train? Suppose I have branches master, release/v1, release/v2. I'm pushing to the branches independently and want to create the independent releases. Example: master -…
donquih0te
  • 597
  • 3
  • 22
0
votes
1 answer

Provide Git credentials to Nebula Gradle plugin on Jenkins using Github App

We have a Jenkins configured to use Github app to perform all Git related activities. A project of ours uses the Nebula Gradle plugin for release process. So, whenever the final task runs on Jenkins, the first Gradle task that runs is prepare which…
Rishabh
  • 380
  • 4
  • 14
0
votes
1 answer

How to use latest gradle-ospackage-plugin from GitHub

I have recently upgraded to Gradle 8 finding out that the nebula.ospackage plugin distributed in Gradle plugin Portal is not compatible. In gradle-ospackage-plugin GitHub repo, there's the 11 version which claim to resolve the incompatibility with…
Stefano Bossi
  • 1,138
  • 1
  • 9
  • 19
0
votes
1 answer

Nebula Ospackage plugin incremental build issue

Using Nebula RPM Plugin I have some issues with incremental build support, for some of the ospackage extension properties. See simple example below: plugins { id "nebula.ospackage" version "9.1.1" } ospackage { packageDescription = "my sample…
M.Ricciuti
  • 11,070
  • 2
  • 34
  • 54
0
votes
1 answer

nebula.release cannot find the task "release"

I have a gradle project that I need to do some automated releasing in and I am supposed to use the nebula-release-plugin. I have not tried to release with gradle before, so I am following this approach. When I try to add the nebula plugin, I get a…
Kikkomann
  • 386
  • 5
  • 20
0
votes
1 answer

What NOREPLACE means at netflix's nebula plugin?

I was using netflix's nebula. Looking here, I saw this line: fileType [org.freecompany.redline.payload.Directive] - Default for types, e.g. CONFIG, DOC, NOREPLACE, LICENSE I didn't find any doc about the actual meaning of this enum, but I've found…
rado
  • 5,720
  • 5
  • 29
  • 51
1
2