mvn clean install -P gradlePluin
- Run at least once
mvn clean install -P gradlePluin ./gradlew build -PjoobyVersion=${project.version}(project.version is the current version of project built in previous step)
- First run
mvn clean install -P gradlePluin - Previous step install plugin in
.m2/repository - Creates a gradle project
- Go to
settings.gradleand add these lines
pluginManagement {
repositories {
mavenLocal()
mavenCentral()
gradlePluginPortal()
}
}
rootProject.name = 'your project name'