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

Add this plugin to your build using the plugins DSL:

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

See also:

  • Adding the plugin to build logic for usage in precompiled script plugins.

    See the relevant documentation for more information.

    Add this plugin as a dependency to <convention-plugins-build>/build.gradle(.kts):

    dependencies {
      implementation("com.needhamsoftware.unojar:com.needhamsoftware.unojar.gradle.plugin:1.1.0")
    }
    It can then be applied in the precompiled script plugin:
    plugins {
      id("com.needhamsoftware.unojar")
    }
  • The legacy method of plugin application. See the relevant documentation for more information.
    buildscript {
      repositories {
        gradlePluginPortal()
      }
      dependencies {
        classpath("com.needhamsoftware.unojar:com.needhamsoftware.unojar.gradle.plugin:1.1.0")
      }
    }
    
    apply(plugin = "com.needhamsoftware.unojar")
  • Applying plugins to all subprojects .