Last active
July 23, 2016 10:06
-
-
Save amsjavan/250c6c00253564cfb647d896d2a6e585 to your computer and use it in GitHub Desktop.
sbt codes
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 characters
unmanagedClasspath in Compile <++= baseDirectory map { base => | |
println(base.getParentFile.getParentFile) | |
val parent = base.getParentFile.getParentFile | |
val baseDirectories = | |
(parent / "actor-server/actor-core/target") +++ | |
(parent / "actor-server/actor-models/target") +++ | |
(parent / "actor-server/actor-codecs/target") +++ | |
(parent / "actor-server/actor-rpc-api/target") | |
val customJars = (baseDirectories ** "*.class") | |
customJars.classpath | |
} |
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 characters
unmanagedJars in Compile <++= baseDirectory map { base => | |
println(base.getParentFile.getParentFile) | |
val parent = base.getParentFile.getParentFile | |
val baseDirectories = | |
(parent / "actor-server/actor-core/target") +++ | |
(parent / "actor-server/actor-models/target") +++ | |
(parent / "actor-server/actor-codecs/target") +++ | |
(parent / "actor-server/actor-rpc-api/target") | |
val customJars = (baseDirectories ** "*.jar") | |
customJars.classpath | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment