Search Gradle plugins

nebula.ivy-dependencies

Add component.war if a war project, add component.java otherwise, add dependencies

https://github.com/nebula-plugins/nebula-publishing-plugin

Version 4.3.2 (latest)

Created 03 November 2015.

Add component.war if a war project, add component.java otherwise, add dependencies

Using the plugins DSL:

plugins {
  id "nebula.ivy-dependencies" version "4.3.2"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url "https://plugins.gradle.org/m2/"
    }
  }
  dependencies {
    classpath "com.netflix.nebula:nebula-publishing-plugin:4.3.2"
  }
}

apply plugin: "nebula.ivy-dependencies"

Using the plugins DSL:

plugins {
  id("nebula.ivy-dependencies") version "4.3.2"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url = uri("https://plugins.gradle.org/m2/")
    }
  }
  dependencies {
    classpath("com.netflix.nebula:nebula-publishing-plugin:4.3.2")
  }
}

apply(plugin = "nebula.ivy-dependencies")

Learn how to apply plugins to subprojects