Search Gradle plugins

com.github.onslip.gradle-one-jar

The gradle-one-jar project is a Gradle plugin that uses One-JAR, a specialized Class-Loader written by Simon Tuffs (http://one-jar.sourceforge.net/), for building self-contained executable jars that include all dependencies.

https://github.com/Onslip/gradle-one-jar/

Version 1.0.5 (latest)

Created 13 August 2017.

The gradle-one-jar project is a Gradle plugin that uses One-JAR, a specialized Class-Loader written by Simon Tuffs (http://one-jar.sourceforge.net/), for building self-contained executable jars that include all dependencies.

Using the plugins DSL:

plugins {
  id "com.github.onslip.gradle-one-jar" version "1.0.5"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url "https://plugins.gradle.org/m2/"
    }
  }
  dependencies {
    classpath "gradle.plugin.com.github.onslip:gradle-one-jar:1.0.5"
  }
}

apply plugin: "com.github.onslip.gradle-one-jar"

Using the plugins DSL:

plugins {
  id("com.github.onslip.gradle-one-jar") version "1.0.5"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url = uri("https://plugins.gradle.org/m2/")
    }
  }
  dependencies {
    classpath("gradle.plugin.com.github.onslip:gradle-one-jar:1.0.5")
  }
}

apply(plugin = "com.github.onslip.gradle-one-jar")

Learn how to apply plugins to subprojects