@@ -35,6 +35,7 @@ public class MacConfig implements Serializable {
3535 private File entitlements ;
3636 private boolean codesignApp = true ;
3737 private InfoPlist infoPlist = new InfoPlist ();
38+ private boolean hardenedCodesign = true ;
3839
3940 public File getIcnsFile () {
4041 return icnsFile ;
@@ -212,6 +213,14 @@ public void setInfoPlist(InfoPlist infoPlist) {
212213 this .infoPlist = infoPlist ;
213214 }
214215
216+ public void setHardenedCodesign (boolean hardenedCodesign ) {
217+ this .hardenedCodesign = hardenedCodesign ;
218+ }
219+
220+ public boolean isHardenedCodesign () {
221+ return hardenedCodesign ;
222+ }
223+
215224 @ Override
216225 public String toString () {
217226 return "MacConfig [icnsFile=" + icnsFile + ", backgroundImage=" + backgroundImage + ", windowWidth="
@@ -220,7 +229,8 @@ public String toString() {
220229 + ", appsLinkIconX=" + appsLinkIconX + ", appsLinkIconY=" + appsLinkIconY + ", volumeIcon=" + volumeIcon
221230 + ", volumeName=" + volumeName + ", generateDmg=" + generateDmg + ", generatePkg=" + generatePkg
222231 + ", relocateJar=" + relocateJar + ", appId=" + appId + ", developerId=" + developerId
223- + ", entitlements=" + entitlements + ", codesignApp=" + codesignApp + ", infoPlist=" + infoPlist + "]" ;
232+ + ", entitlements=" + entitlements + ", codesignApp=" + codesignApp + ", infoPlist=" + infoPlist
233+ + ", hardenedCodesign=" + hardenedCodesign + "]" ;
224234 }
225235
226236 /**
0 commit comments