- added fatJar task

This commit is contained in:
Roman Tsypuk
2017-12-16 00:57:44 +02:00
parent e8e47bfb40
commit 695d622603

View File

@@ -59,3 +59,14 @@ dependencies {
task wrapper(type: Wrapper) {
gradleVersion = '4.3.1'
}
task buildSdr(type: Jar) {
manifest {
attributes 'Implementation-Title': 'SdrTrunk project',
'Implementation-Version': version,
'Main-Class': 'ua.in.smartjava.gui.SDRTrunk'
}
baseName = project.name + '-all'
from { configurations.compile.collect { it.isDirectory() ? it : zipTree(it) } }
with jar
}