Skip to content

Commit ea0017d

Browse files
author
ylexus
committed
fix bugs related to gradle project restructure
1 parent 0d763a1 commit ea0017d

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

app/build.gradle

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ test {
134134

135135
jar {
136136
manifest {
137-
attributes 'Implementation-Title': project.name,
137+
attributes 'Implementation-Title': 'Jiotty Photos Uploader',
138138
'Implementation-Version': archiveVersion
139139
}
140140
}
@@ -221,7 +221,7 @@ task copyPackagingResources(type: Copy) {
221221
} else if (org.gradle.internal.os.OperatingSystem.current().windows) {
222222
from("$projectDir/src/main/packaging-resources/windows/out") {
223223
include '**/*.xml'
224-
filter(ReplaceTokens, tokens: [version: version, appName: project.name])
224+
filter(ReplaceTokens, tokens: [version: version, appName: 'Jiotty Photos Uploader'])
225225
}
226226
into "$buildDir/packaging-resources/windows/out"
227227
} else {
@@ -256,7 +256,7 @@ task prepareOsSpecificPackaging {
256256
task runOsSpecificPackaging(type: Exec) {
257257
onlyIf { !org.gradle.internal.os.OperatingSystem.current().linux }
258258
if (org.gradle.internal.os.OperatingSystem.current().macOsX) {
259-
commandLine "$rootDir/macos_notarize_dmg.sh", "$project.name", "$version", Jvm.current().getJavaHome()
259+
commandLine "$rootDir/macos_notarize_dmg.sh", 'Jiotty Photos Uploader', "$version", Jvm.current().getJavaHome()
260260
}
261261
if (org.gradle.internal.os.OperatingSystem.current().windows) {
262262
commandLine "$rootDir/windows-create-appx.bat", "$version"

0 commit comments

Comments
 (0)