[Build] Add shadowJar plugin to collect all deps into one jar

resolves #52
This commit is contained in:
SpaiR committed 2021-05-29 12:28:27 +03:00
1 parent 2730c93469
commit 7a98fb7ba9
1 file changed
+5
+5
View File
@@ -1,5 +1,6 @@
plugins { plugins {
id 'java-library' id 'java-library'
id 'com.github.johnrengelman.shadow' version '7.0.0'
id 'checkstyle' id 'checkstyle'
id 'maven-publish' id 'maven-publish'
id 'signing' id 'signing'
@@ -40,5 +41,9 @@ jar {
} }
} }
shadowJar {
with jar
}
apply from: "$rootDir/publish.gradle" apply from: "$rootDir/publish.gradle"
configurePublishing('imgui-java-app', 'Application wrapper for Dear ImGui') configurePublishing('imgui-java-app', 'Application wrapper for Dear ImGui')