apply plugin: 'java' project.version = '0.3-SNAPSHOT' project.description = ''' Demonstrate how to perform S/MIME encryption and decryption of mails using BouncyCastle. ''' repositories { mavenCentral() } dependencies { compile group: 'org.bouncycastle', name: 'bcmail-jdk15on', version: '1.54' compile group: 'org.bouncycastle', name: 'bcprov-jdk15on', version: '1.54' compile group: 'javax.mail', name: 'javax.mail-api', version: '1.5.4' compile group: 'com.sun.mail', name: 'javax.mail', version: '1.5.4' testCompile group: 'junit', name: 'junit', version: '4.12' } task wrapper(type: Wrapper) { gradleVersion = '2.13' }