First I would like to say that the Gradle integration is coming along great and I hope that it continues to progress so quickly. Thank you for all your hard work!
I am one of the Spring Security committers and would love to be able to use STS Gradle integration to import Spring Security. Below are a list of things I would like to be able to 'just do'. Please note that all of these things are done when using standard Gradle (i.e. running gradle eclipse) which might be useful for helping understand what I am looking for.
- Everything should compile. One of the things I noticed is that spring-security-core's src/test/java is normally added to other project's (i.e. spring-security-web) classpath. However, when running with STS Gradle integration I get this error:
The container 'Gradle Dependencies' references non existing library '/home/rwinch/spring-security/core/build/classes/test'
- All tests should pass
- AspectJ integration should work (this is necessary for the tests to pass)
- All the war sample projects should be able to be ran using WTP (i.e. WTP integration)
- It would be nice if the context root of the application could be specified. Currently we configure WTP context root using the context root configured for the Jetty plugin.
- It would be nice if the eclipse projects were renamed as they are in the standard build. For example when importing the project using STS I get the project name spring-security.spring-security-crypto, but when using standard Gradle the name is spring-security-crypto
- Use EGit to clone the project. Then support Import project...->Use the new projects wizard to invoke Import -> Gradle project
- Dependency management support similar to maven eclipse
- Adding/removing dependencies using maven indexes
- Viewing a dependency tree and filtering based upon the configuration
- Editing .gradle files
- DSL descriptor support for gradle as described in http://blog.springsource.com/2011/05/08/better-dsl-support-in-groovy-eclipse/
- Type inference of standard Gradle objects
Thanks again for all the hard work and let me know if there is anything I can do to assist.