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

Sources: 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.

Add this plugin to your build using the plugins DSL:

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

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("in.co.rahogata.swayamjar:in.co.rahogata.swayamjar.gradle.plugin:0.2")
    }
    It can then be applied in the precompiled script plugin:
    plugins {
      id("in.co.rahogata.swayamjar")
    }
  • The legacy method of plugin application. See the relevant documentation for more information.
    buildscript {
      repositories {
        gradlePluginPortal()
      }
      dependencies {
        classpath("in.co.rahogata.swayamjar:in.co.rahogata.swayamjar.gradle.plugin:0.2")
      }
    }
    
    apply(plugin = "in.co.rahogata.swayamjar")
  • Applying plugins to all subprojects .