mperry / bytecode-inspector

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Java Bytecode Inspector

This project allows a quick way to inspect the class versions of either a jar file or all jar files in a directory.

Set the arguments as a command line argument:

gradlew run -Pargs=<file>

where file is either a jar file or directory, or edit the build.gradle file and set the defaultArgs property and run:

gradlew run

Typical output is:

version: None, file: d:\repositories\functionaljava\consume\build\libs\functionaljava-consume-4.5-SNAPSHOT-javadoc.jar
version: None, file: d:\repositories\functionaljava\consume\build\libs\functionaljava-consume-4.5-SNAPSHOT-sources.jar
version: Some((52,Some(JAVA_8))), file: d:\repositories\functionaljava\consume\build\libs\functionaljava-consume-4.5-SNAPSHOT.jar
version: Some((49,Some(JAVA_5))), file: d:\repositories\functionaljava\consume\build\tmp\expandedArchives\org.jacoco.agent-0.7.1.201405082137.jar_a0mvaakmwojkgsu2oquz538ig\jacocoagent.jar

About


Languages

Language:Java 100.0%