I have a java-maven project. I want to convert it to gradle, so I did:
gradle init --type pom
And I have an error:
FAILURE: Could not determine which tasks to execute.
* What went wrong:
Task 'init' not found in root project 'my-project'.
* Try:
Run gradle tasks to get a list of available tasks.
BUILD FAILED
Total time: 1.78 secs
I have the latest version of gradle:
$ gradle --version
------------------------------------------------------------
Gradle 1.4
------------------------------------------------------------
Gradle build time: Monday, September 9, 2013 8:44:25 PM UTC
Groovy: 1.8.6
Ant: Apache Ant(TM) version 1.9.3 compiled on April 8 2014
Ivy: non official version
JVM: 1.7.0_51 (Oracle Corporation 24.51-b03)
OS: Linux 3.13.0-24-generic amd64
source
share