mirror of
https://github.com/DSheirer/sdrtrunk.git
synced 2026-11-16 18:47:33 -05:00
Resolves issue with application version display in title bar (#601)
This commit is contained in:
18
build.gradle
18
build.gradle
@@ -97,16 +97,18 @@ javafx {
|
|||||||
modules = ['javafx.base', 'javafx.controls', 'javafx.graphics', 'javafx.swing']
|
modules = ['javafx.base', 'javafx.controls', 'javafx.graphics', 'javafx.swing']
|
||||||
}
|
}
|
||||||
|
|
||||||
task buildSdr(type: Jar) {
|
jar {
|
||||||
manifest {
|
manifest {
|
||||||
attributes 'Implementation-Title': 'SdrTrunk project',
|
attributes (
|
||||||
'Implementation-Version': version,
|
'Implementation-Title' : 'sdrtrunk project',
|
||||||
'Main-Class': 'io.github.dsheirer.gui.SDRTrunk',
|
'Implementation-Version' : archiveVersion,
|
||||||
'Class-Path': 'jmbe-1.0.0.jar'
|
'Class-Path' : 'jmbe-1.0.0.jar',
|
||||||
|
'Created-By' : "Gradle ${gradle.gradleVersion}",
|
||||||
|
'Build-Timestamp' : new java.text.SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSSZ").format(new Date()),
|
||||||
|
'Build-JDK' : "${System.properties['java.version']} (${System.properties['java.vendor']} ${System.properties['java.vm.version']}",
|
||||||
|
'Build-OS' : "${System.properties['os.name']} (${System.properties['os.arch']} ${System.properties['os.version']}"
|
||||||
|
)
|
||||||
}
|
}
|
||||||
baseName = project.name + '-all'
|
|
||||||
from { configurations.compile.collect { it.isDirectory() ? it : zipTree(it) } }
|
|
||||||
with jar
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
Reference in New Issue
Block a user