plugins { id 'java-library' } java { sourceCompatibility = JavaVersion.VERSION_1_7 targetCompatibility = JavaVersion.VERSION_1_7 /* task makeJar(type: jar) { delete 'ssl.jar' from file('src/main/java/') destinationDir = file('build/libs') archiveName = 'ssl.jar' } makeJar.dependsOn(build)*/ } dependencies { implementation 'org.bouncycastle:bcprov-jdk15on:1.63' compileOnly 'junit:junit:4.13.2' }