Skip to content

Instantly share code, notes, and snippets.

@prithvihv
Created June 12, 2021 08:08
Show Gist options
  • Save prithvihv/1b3d331bd6acba480593a5ec32de9eb9 to your computer and use it in GitHub Desktop.
Save prithvihv/1b3d331bd6acba480593a5ec32de9eb9 to your computer and use it in GitHub Desktop.
// 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")
}
@prithvihv
Copy link
Author

https://github.com/sbt/sbt-dependency-graph this a better way to look at dependecies

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment