Search Gradle plugins

com.needhamsoftware.unojar

Single jar packaging based on a JarClassLoader. Unlike maven shade and gradle shadow, this form of packaging does not intermix classes into a single directory, and thereby maintains a degree of separation between libraries with distinct licensing concerns. Does not require write access to the filesystem like capsule

https://github.com/nsoft/uno-jar

Sources: https://github.com/nsoft/uno-jar.git

Version 1.0.2

Created 28 July 2021.

Single jar packaging based on a JarClassLoader. Unlike maven shade and gradle shadow, this form of packaging does not intermix classes into a single directory, and thereby maintains a degree of separation between libraries with distinct licensing concerns. Does not require write access to the filesystem like capsule

Using the plugins DSL:

plugins {
  id("com.needhamsoftware.unojar") version "1.0.2"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url = uri("https://plugins.gradle.org/m2/")
    }
  }
  dependencies {
    classpath("uno-jar:gradle-plugin:1.0.2")
  }
}

apply(plugin = "com.needhamsoftware.unojar")

Using the plugins DSL:

plugins {
  id "com.needhamsoftware.unojar" version "1.0.2"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url "https://plugins.gradle.org/m2/"
    }
  }
  dependencies {
    classpath "uno-jar:gradle-plugin:1.0.2"
  }
}

apply plugin: "com.needhamsoftware.unojar"

Learn how to apply plugins to subprojects