Skip to content

Commit

Permalink
Set executable for all (and not for owner only)
Browse files Browse the repository at this point in the history
  • Loading branch information
koppor committed Aug 8, 2017
1 parent a54b2ea commit 3e40010
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -377,7 +377,8 @@ task releaseJar(dependsOn: "shadowJar") {
fileName.replace('-fat', '')
}
}
file("$buildDir/releases/JabRef-${project.version}.jar").setExecutable(true, true);
// set executable with read permissions (first true) and for all (false)
file("$buildDir/releases/JabRef-${project.version}.jar").setExecutable(true, false);
}
}

Expand Down

0 comments on commit 3e40010

Please sign in to comment.