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.1.0 (latest)

Created 20 January 2023.

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.1.0"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url = uri("https://plugins.gradle.org/m2/")
    }
  }
  dependencies {
    classpath("com.needhamsoftware.unojar:gradle-plugin:1.1.0")
  }
}

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

Using the plugins DSL:

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

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url "https://plugins.gradle.org/m2/"
    }
  }
  dependencies {
    classpath "com.needhamsoftware.unojar:gradle-plugin:1.1.0"
  }
}

apply plugin: "com.needhamsoftware.unojar"

Learn how to apply plugins to subprojects