- 
      
 - 
        
Save rgorsuch/b404c658551a6a8aeb35 to your computer and use it in GitHub Desktop.  
Revisions
- 
        
rgorsuch revised this gist
Jul 31, 2015 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -5,4 +5,4 @@ } val urls = urlses(getClass.getClassLoader) println(urls.filterNot(_.toString.contains("ivy")).mkString("\n"))  - 
        
jessitron created this gist
Jan 11, 2014 .There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,8 @@ def urlses(cl: ClassLoader): Array[java.net.URL] = cl match { case null => Array() case u: java.net.URLClassLoader => u.getURLs() ++ urlses(cl.getParent) case _ => urlses(cl.getParent) } val urls = urlses(getClass.getClassLoader) println(urls.filterNot(_.toString.contains("ivy")).mkString("\n")