Hi I am trying to solve my problem but can’t so I made a sample that shows it. I think I make something stupid but can’t find it by myself. If I write:
gradlew tasks
Build Setup tasks
-----------------
init - Initializes a new Gradle build. [incubating]
wrapper - Generates Gradle wrapper files. [incubating]
Hello tasks
-----------
helloTask - Just say hello.
You can see that there is task helloTask. But if I try to execute it:
gradlew helloTask
FAILURE: Build failed with an exception.
* What went wrong:
Task 'helloTask' not found in root project 'SampleGradle'.
The code can be found from: https://dl.dropboxusercontent.com/u/48326074/SampleGradle.rar