ABANDONED - use something like the gradle-capsule-plugin instead
Groovy Java
Latest commit a34abb2 Sep 17, 2014 @stigkj stigkj Abandoning the project
So sad...
Permalink
Failed to load latest commit information.
gradle/wrapper Add Gradle Wrapper with version 1.7 of Gradle. Nov 12, 2013
src
.travis.yml Create travis configuration to build with gradle Nov 19, 2013
README.md Abandoning the project Sep 17, 2014
build.gradle
gradlew Add Gradle Wrapper with version 1.7 of Gradle. Nov 12, 2013
gradlew.bat
shippable.yml

README.md

ABANDONED - use something like the gradle-capsule-plugin instead

Executable Jar plugin for Gradle

The Executable Jar plugin creates an executable jar from your project with all its runtime dependencies embedded.

This means, when using this plugin in a build, you will get a artifact_name-execjar.jar artifact that can be run like this:

java -jar artifact_name-execjar.jar

Usage

To use the executable jar plugin, include the following in your build script:

apply plugin: 'executable-jar'

// This is the class that starts your application
mainClass = 'the.class.that.has.Main'

buildscript {
    repositories {
        mavenCentral()
    }
    dependencies {
        classpath 'net.nisgits.gradle:gradle-executable-jar-plugin:1.7.0'
    }
}