Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/stigkj/gradle-executable-jar-plugin
ABANDONED - use something like the gradle-capsule-plugin instead
https://github.com/stigkj/gradle-executable-jar-plugin
Last synced: 2 months ago
JSON representation
ABANDONED - use something like the gradle-capsule-plugin instead
- Host: GitHub
- URL: https://github.com/stigkj/gradle-executable-jar-plugin
- Owner: stigkj
- Created: 2011-11-28T21:23:35.000Z (about 13 years ago)
- Default Branch: master
- Last Pushed: 2014-09-17T14:15:20.000Z (over 10 years ago)
- Last Synced: 2023-07-28T00:29:17.252Z (over 1 year ago)
- Language: Groovy
- Homepage:
- Size: 290 KB
- Stars: 24
- Watchers: 10
- Forks: 4
- Open Issues: 8
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# ABANDONED - use something like the [gradle-capsule-plugin](https://github.com/danthegoodman/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:```groovy
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'
}
}
```