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/

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

Version 1.0.6

Created 21 December 2020.

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

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.6")
  }
}

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

Using the plugins DSL:

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

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

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

Learn how to apply plugins to subprojects