Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Gradle Android Scala Plugin fails due to trace files in generated source directory by Xtend in a multi language project #57

Open
celestialmachines opened this issue Apr 29, 2015 · 0 comments

Comments

@celestialmachines
Copy link

Hi, there is an issue when compiling multi language android projects where the scala zinc compiler tries to compile non scala stuff which fails.

The plugin seems to work with all JVM languages I have used in a sample project except for xtend which creates binary trace files on which the zinc compiler fails.

It would be nice if there would be an option to prevent zinc from compiling the whole project, ie compile only scala.

The work around was to add this to my gradle build file so that it would invoke the standalone ant task thus compile only scala:

tasks.withType(ScalaCompile) {
scalaCompileOptions.useAnt = true
}

Feel free to request for more information if needed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant