How to sign a jar with x.509 certificates using gradle

Hi, The gradle signing plugin uses PGP certificates. Can I sign my jar file with an x.509 certificate? thanks

It only supports PGP at the moment.

A year has now passed. Has support for signing with a certificate been added to gradle?

You could use the signjar ant task