From b4e05758a7feaf09016f41949a854c1431e9c039 Mon Sep 17 00:00:00 2001 From: ChronosX88 Date: Fri, 12 Apr 2019 15:24:06 +0400 Subject: [PATCH] Added shadowJar plugin in build.gradle (for building fat jar) --- build.gradle | 16 +++++++++++++--- 1 file changed, 13 insertions(+), 3 deletions(-) diff --git a/build.gradle b/build.gradle index 5826935..29e72c8 100644 --- a/build.gradle +++ b/build.gradle @@ -1,8 +1,18 @@ -plugins { - id 'java' +buildscript { + repositories { + mavenCentral() + jcenter() + } + + dependencies { + classpath 'com.github.jengelman.gradle.plugins:shadow:4.0.4' + } } -version '1.0-SNAPSHOT' +apply plugin: 'java' +apply plugin: 'com.github.johnrengelman.shadow' + +version '0.2' sourceCompatibility = 1.8