Getting an error when attempting to execute 'gradle :app:PNGenerator:run':
FAILURE: Build failed with an exception.
* Where:
Build file 'C:\git\code\build.gradle' line: 422
* What went wrong:
A problem occurred evaluating root project 'code'.
Cause: Cannot add task ':app:PNGenerator:install' as a task with that name
already exists.
I have not manually configured anything using the word "install" in any
portion of my build script. 'gradle :app:PNGenerator:jar' runs fine.
This is my project entry in the gradle script:
project('app:PNGenerator') {
apply plugin:'application'
version = 1.0
mainClassName = "net.intellidata.pngenerator.gui.PNGeneratorFrame"
dependencies {
compile project(':api:util')
runtime 'jaxen:jaxen:1.1.1@jar'
}
jar.baseName = 'pn-generator'
}
In case it helps, I've also got these plugins being inherited from the
subprojects {} block:
apply plugin: 'java'
apply plugin: 'eclipse'
apply plugin: 'maven'
Maybe this is a conflict with the maven plugin. Any thoughts/suggestions?
--
View this message in context:
http://gradle.1045684.n5.nabble.com/gradle-application-plugin-task-with-name-install-already-exists-tp4301699p4301699.html
Sent from the gradle-user mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email