Created
June 26, 2013 22:06
-
-
Save pfn/5872172 to your computer and use it in GitHub Desktop.
sbt plugin dependency wiring
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
def androidBuild(projects: Project*): Project.SettingsDefinition = { | |
androidBuild ++ | |
(projects map { p => | |
Seq( | |
collectResources in Android <<= | |
collectResources in Android dependsOn (compile in Compile in p), | |
compile in Compile <<= compile in Compile dependsOn( | |
packageT in Compile in p) | |
) | |
}).flatten | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment