Created
March 16, 2012 16:36
-
-
Save guillaumebort/2050952 to your computer and use it in GitHub Desktop.
Add a kotlin compilation step
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
val main = PlayProject(appName, appVersion, appDependencies, mainLang = SCALA).settings( | |
compile in Compile <<= (compile in Compile, sourceDirectory in Compile, classDirectory in Compile, dependencyClasspath in Compile) map { (analysis, src, classes, classpath) => | |
val allKotlinSources: Seq[java.io.File] = (src ** ".kotlin").get | |
// call the kotlin compiler using `classpath` and output classes to `classes` | |
analysis | |
} | |
) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment