Sunday, May 4, 2014

gradlew idea : FAILURE: Could not determine which tasks to execute.


A small tips if you are not very familiar with gradle and gradlew.

Problem

To idealize my GroovyFx project, I have to use gradlew command :

$gralew idea

I had the following error message :

FAILURE: Could not determine which tasks to execute.

* What went wrong:
Task 'idea' not found in root project 'tsecure'.

* Try:
Run gradlew tasks to get a list of available tasks.


Solution


You only have to add the following line to your  build.gradle :

 apply plugin: 'idea'

Then execute :

$gralew idea

No comments:

Post a Comment