Created
June 12, 2021 08:08
-
-
Save prithvihv/1b3d331bd6acba480593a5ec32de9eb9 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// call this function as: PrintInfoAboutClass(classOf[ArrayUtils]) | |
def PrintInfoAboutClass(cl: Class[_]) = { | |
val cName = cl.getName() | |
var p = cl.getPackage() | |
val title = p.getImplementationTitle() | |
val vendorVersion = p.getImplementationVersion() | |
val implVendor = p.getImplementationVendor() | |
println(s"$cName\n\t$title\n\t$vendorVersion\n\t$implVendor") | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
https://github.com/sbt/sbt-dependency-graph this a better way to look at dependecies