Search Gradle plugins

nebula.shadow-jar

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 15.0.3 (latest)

15.0.3

Created 03 February 2020.

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.shadow-jar") version "15.0.3"
}

Using legacy plugin application:

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

apply(plugin = "nebula.shadow-jar")

Using the plugins DSL:

plugins {
  id "nebula.shadow-jar" version "15.0.3"
}

Using legacy plugin application:

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

apply plugin: "nebula.shadow-jar"

Learn how to apply plugins to subprojects