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

1.1.0

Created 12 April 2023.

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

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

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

Using the plugins DSL:

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

Using legacy plugin application:

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

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

Learn how to apply plugins to subprojects