I am importing a Gradle project into Eclipse 4.2 using Buildship 1.0.1.v20150707-1007-m. The project root name is set in settings.gradle and does not match the Subversion folder name. The checkout is using the folder as named in SVN. The import as a Gradle project works fine and the tasks are listed, but another folder is created with the project name specified in settings.gradle. The Eclipse project files are there and the source folder names, the latter being empty.
When I try to run a task a failure occurs stating that the ‘check’ task does not exist. This also happens with the ‘build’ task. The console output is:
Gradle Tasks: check Working Directory: C:\workspace\spa\ebs-laptop-encryption-signature-portlet Gradle Distribution: Gradle wrapper from target build Gradle User Home: C:\.gradle Java Home: C:\Program Files\Java\jdk1.7.0_40 JVM Arguments: Use default defined by Gradle Program Arguments: None
Parallel execution is an incubating feature.
FAILURE: Build failed with an exception.
* What went wrong: Task 'check' not found in root project 'ebs-laptop-encryption-signature-portlet'.
* Try: Run gradle tasks to get a list of available tasks. Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
Total time: 0.134 secs
Is it required for the folder name and project name to match?