Search Gradle plugins

nebula.maven-shadow-publish

Configures project to use shadowJar artifact instead of jar artifact when users want to replace the jar task

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

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

Version 18.4.0 (latest)

18.4.0

Created 28 February 2022.

Configures project to use shadowJar artifact instead of jar artifact when users want to replace the jar task

Using the plugins DSL:

plugins {
  id("nebula.maven-shadow-publish") version "18.4.0"
}

Using legacy plugin application:

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

apply(plugin = "nebula.maven-shadow-publish")

Using the plugins DSL:

plugins {
  id "nebula.maven-shadow-publish" version "18.4.0"
}

Using legacy plugin application:

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

apply plugin: "nebula.maven-shadow-publish"

Learn how to apply plugins to subprojects