I am using Proguard to shrink my deployment package which is a zip file containing multiple jar files. -injars deployment_package.zip the deployment_package.zip structure looks like this: deployment_package.zip - main/classes/... - lib - libraryA.jar - libraryB.jar -META-INF I wanted Proguard to filter out the META-INF folder inside libraryB.jar (so that it is not included on the outjar). How do I achieve this using proguard? I have tried -injars deployment_package.zip (!lib/libraryB.jar/META-INF)...
hi @lafortune thank you for the pointers. Sorry for the late response from my part. My application consists of a zip file with all dependencies placed inside lib folder on the root directory. I am using this zip file as an injar parameter to Proguard. The structure of the zip files is as follows deployment.zip - lib - a.jar - META-INF - MANIFEST files etc -bcprov-jdk15.jar -META-INF -.class files (actual application class files) I have some further questions and was hoping that you could help. I...
hi @lafortune thank you for the pointers. Sorry for the late response from my part. My application consists of a zip file with all dependencies placed inside lib folder on the root directory. I am using this zip file as an injar parameter to Proguard. The structure of the zip files is as follows deployment.zip - lib - a.jar - META-INF - MANIFEST files etc -bcprov-jdk15.jar -META-INF -.class files (actual application class files) I have some further questions and was hoping that you could help. I...
Ooops seems like I need to post this on the Help Forum instead, but cant figure out how to delete this post..
bcprov-jdk15.jar is a jar which contains cryptographic algorithms. This jar is a signed jar which triggers JVM to check the validity of the signature before loading it to the classpath. My application concerns a lot about deployment size and I am using proguard against this bcprov-jdk15.jar to reduce its size. Since a lot of .class files are removed, the signature checks are actually failing while a class from this jar is being loaded. I am getting java.lang.SecurityException: SHA-256 digest error...