Resolution: Won't Fix
Affects Version/s: None
Fix Version/s: None
I am trying to setup something that lets users more easily create new Gradle projects in STS.
To this end I allow the user to create a new project containing one of the sample projects from RC1 distribution.
When using the samples/java/base sample project however, the resulting project has compile errors.
The reason for this problem appears to be that the classpath for this sample project as returned by the tooling API contains no entries.
When I modify the sample project to
apply plugin: 'java'
apply plugin: 'java-base'
Then the classpath is populated properly.
I'm not sure how serious a problem this is. I imagine most people will use 'java' plugin rather than just 'java-base' so are not likely to hit this problem.
Perhaps the most serious problem here, is that a sample project bundled with the official gradle distribution does not import/work correctly in the IDE.