Search Gradle plugins

Version 3.0.2 (latest)

3.0.2

Created 14 August 2015.

This plugin version will no longer resolve after JCenter becomes a permanent redirect to Maven Central as it uses dependencies only found in JCenter. See the following blog post for details: https://blog.gradle.org/portal-jcenter-impact Add component.war if a war project, add component.java otherwise

Using the plugins DSL:

plugins {
  id("nebula.maven-java-publishing") version "3.0.2"
}

Using legacy plugin application:

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

apply(plugin = "nebula.maven-java-publishing")

Using the plugins DSL:

plugins {
  id "nebula.maven-java-publishing" version "3.0.2"
}

Using legacy plugin application:

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

apply plugin: "nebula.maven-java-publishing"

Learn how to apply plugins to subprojects