Search Gradle plugins

Version 0.1.0

0.1.0

Created 09 August 2016.

Create an executable jar.

Using the plugins DSL:

plugins {
  id("org.lain.gradle.plugin.executable-jar") version "0.1.0"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url = uri("https://plugins.gradle.org/m2/")
    }
  }
  dependencies {
    classpath("gradle.plugin.org.lain.gradle.plugin:executable-jar-plugin:0.1.0")
  }
}

apply(plugin = "org.lain.gradle.plugin.executable-jar")

Using the plugins DSL:

plugins {
  id "org.lain.gradle.plugin.executable-jar" version "0.1.0"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url "https://plugins.gradle.org/m2/"
    }
  }
  dependencies {
    classpath "gradle.plugin.org.lain.gradle.plugin:executable-jar-plugin:0.1.0"
  }
}

apply plugin: "org.lain.gradle.plugin.executable-jar"

Learn how to apply plugins to subprojects