diff options
author | romangraef <roman.graef@gmail.com> | 2018-02-09 15:09:14 +0100 |
---|---|---|
committer | romangraef <roman.graef@gmail.com> | 2018-02-09 15:09:14 +0100 |
commit | 54bf740e7dde2af3a91fade6c37f55b5ce8f1087 (patch) | |
tree | 62bf9586b24f02e8b2d1360a5ddd82f8ad57a76f | |
parent | 2d95aa1abc20f55cdca090145775af326c145028 (diff) | |
download | privateroombot-54bf740e7dde2af3a91fade6c37f55b5ce8f1087.tar.gz privateroombot-54bf740e7dde2af3a91fade6c37f55b5ce8f1087.tar.bz2 privateroombot-54bf740e7dde2af3a91fade6c37f55b5ce8f1087.zip |
added shadow to project
-rw-r--r-- | build.gradle | 25 |
1 files changed, 24 insertions, 1 deletions
diff --git a/build.gradle b/build.gradle index eed83bf..913b6db 100644 --- a/build.gradle +++ b/build.gradle @@ -1,10 +1,33 @@ +buildscript { + repositories { + jcenter() + } + dependencies { + classpath 'com.github.jengelman.gradle.plugins:shadow:2.0.2' + } +} +plugins { + id 'java' + id 'application' + id 'com.github.johnrengelman.shadow' version '2.0.2' +} + +shadowJar { + classifier = 'shadow' +} + group 'de.romjaki' version '1.0-SNAPSHOT' -apply plugin: 'java' +mainClassName = 'de.romjaki.privateroombot.Main' sourceCompatibility = 1.8 +jar { + manifest { + attributes 'Main-Class': mainClassName + } +} repositories { mavenCentral() jcenter() |