Tomek Kaczanowski wrote:
Hello Adam,
I wonder if a better approach is to not mix the java plugin and ant builds
in the same project. That way, you get separate namespaces. As tasks are
migrated, they can move from the ant project to the java project.
Eee,,, I think I don't get it. Should I have more than one
build.gradle ? In separate (sub-)project ?
Not necessarily. I'd have one build file:
build.gradle
usePlugin 'java'
// project 'ant' is a subproject of this project
project('ant') {
ant.importBuild 'some-build-file.xml'
}
jar {
dependsOn: 'ant:compile'
...
}
Could you perhaps add a JIRA issue for this problem?
http://jira.codehaus.org/browse/GRADLE-771
--
Tomek
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email
--
Adam Murdoch
Gradle Developer
http://www.gradle.org