Gradle clean install

Hi, I have a gradle project.
I have the instruction for compile the program and I have to do

./gradlew clean install

but when i run this command

Task ‘install’ not found in root project

Any ideas?

Depends what you’re expecting. You are probably thinking of the ‘install’ task that builds the project and then copies artifacts to your local maven repository. In that case you need simply apply the ‘maven’ plugin to your project.

apply plugin: 'maven'

ok thanks very much …