Cleanup.
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Mark Nellemann 2023-08-15 09:20:17 +02:00
parent 369e96226f
commit 61baab8c70
2 changed files with 4 additions and 20 deletions

View file

@ -7,9 +7,6 @@ plugins {
id 'org.beryx.jlink' version '2.26.0' id 'org.beryx.jlink' version '2.26.0'
} }
import org.apache.tools.ant.filters.ReplaceTokens
repositories { repositories {
mavenCentral() mavenCentral()
mavenLocal() mavenLocal()
@ -78,7 +75,7 @@ jlink {
installerName = "mDNS-Explorer-${osdetector.arch}" installerName = "mDNS-Explorer-${osdetector.arch}"
installerOptions += [ installerOptions += [
'--vendor', 'Nellemann Data', '--vendor', 'Nellemann Data',
'--description', 'mDNS Explorer', '--description', 'List mDNS services on your local network.',
'--copyright', 'Mark Nellemann <mark.nellemann@gmail.com>', '--copyright', 'Mark Nellemann <mark.nellemann@gmail.com>',
'--app-version', version '--app-version', version
] ]
@ -104,13 +101,14 @@ jlink {
] ]
} }
// Requires: build-rpm / rpm and dpkg-dev
if(osdetector.os == 'linux') { if(osdetector.os == 'linux') {
skipInstaller = false skipInstaller = false
installerOptions += [ installerOptions += [
'--linux-menu-group', 'Internet',
'--linux-shortcut', '--linux-shortcut',
'--linux-deb-maintainer', 'mark.nellemann@gmail.com', '--linux-menu-group', 'Internet',
'--linux-rpm-license-type', 'APACHE-20', '--linux-rpm-license-type', 'APACHE-20',
'--linux-deb-maintainer', 'mark.nellemann@gmail.com',
'--icon', 'src/main/resources/icon.png', '--icon', 'src/main/resources/icon.png',
] ]
} }
@ -118,9 +116,3 @@ jlink {
} }
} }
tasks.processResources {
filesMatching('**/configuration.properties') {
filter(ReplaceTokens, tokens: [copyright: '2023', version: System.env.BITBUCKET_BUILD_NUMBER ?: 'development' ])
}
}

View file

@ -1,8 +0,0 @@
###
# properties defined in configuration.properties per folder (component)
# can be directly injected into a presenter
appCopyright=@copyright@
appVersion=@version@
aboutWebsite=https://www.nellemann.biz