Search Gradle plugins

in.co.rahogata.swayamjar

A Gradle plugin to create an executable shell/batch script and embedding JAR in it.

https://github.com/rahogata/swayamjar

Version 0.2 (latest)

Created 26 April 2022.

A Gradle plugin to create an executable shell/batch script and embedding JAR in it.

Using the plugins DSL:

plugins {
  id "in.co.rahogata.swayamjar" version "0.2"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url "https://plugins.gradle.org/m2/"
    }
  }
  dependencies {
    classpath "in.co.rahogata:swayamjar:0.2"
  }
}

apply plugin: "in.co.rahogata.swayamjar"

Using the plugins DSL:

plugins {
  id("in.co.rahogata.swayamjar") version "0.2"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url = uri("https://plugins.gradle.org/m2/")
    }
  }
  dependencies {
    classpath("in.co.rahogata:swayamjar:0.2")
  }
}

apply(plugin = "in.co.rahogata.swayamjar")

Learn how to apply plugins to subprojects