/ Published in: Groovy
URL: build_gradle_jar_with_dependencies
Custom task using gradle java plugin for build runnable jar file with full dependencies set
Expand |
Embed | Plain Text
apply plugin: 'java' task full_jar(type: Jar, dependsOn: classes) { manifest { attributes 'Main-Class': "${project.group}.Main" } from files(compileJava) baseName = "${project.archivesBaseName}-full" }
You need to login to post a comment.
