[GRADLE-287] Provide Scala Plugin Created: 29/Oct/08 Updated: 04/Jan/13 Resolved: 16/Aug/09 |
|
Status: | Resolved |
Project: | Gradle |
Affects Version/s: | None |
Fix Version/s: | 0.8 |
Type: | New Feature | ||
Reporter: | Ross Black | Assignee: | Adam Murdoch |
Resolution: | Fixed | Votes: | 3 |
Attachments: | scala-plugin-04Nov2008.patch scala-plugin-29Oct2008.patch |
Description |
I know this is not scheduled until after 1.0, but I was playing with scala and gradle and thought that this would be useful. I have attached a patch that provides code for a plugin to perform Scala compilation and doc generation. The plugin provides the basics for ant tasks and gradle convention tasks.
A few thoughts:
Hope this helps. |
Comments |
Comment by Ross Black [ 04/Nov/08 ] |
I have updated the Scala plugin so that it does not require an installation of scala, and gets the libraries it needs via dependencies. The test project now runs successfully for the full pass of compile, test, scaladoc, etc. This is definitely the last work I can do on the plugin for a significant period of time. I could not submit it in the patch file, but the scalaproject needs junit-4.4.jar in the lib directory (same as javaproject) I am sure it needs more thorough testing of various options and paths, but the plugin should now be generally usable. |
Comment by Ross Black [ 11/Aug/09 ] |
I have created a git branch containing the scala plugin updated for the latest (0.7+) gradle code. |
Comment by Ross Black [ 15/Aug/09 ] |
Some future work for this plugin:
|
Comment by Adam Murdoch [ 16/Aug/09 ] |
This has been applied to trunk. Thank you for this patch. |