maven - What should be in the build.gradle file to support imports of the standard groovy libraries -
i had created groovy project. worked itself.
after additions had add new jar of new library imports.
while whole workspace runs on gradle, added appropriate maven reference gradle.build file.
after running gradle cleaneclipse eclipse
new library works ok.
but. project references groovy libraries disappeared. foolish me, had put references them gradle.build, too.
the list of libraries:
groovy.util.slurpersupport groovy.xml org.codehaus.groovy.tools.xml groovy.lang
but don't know how include them gradle.build. can't found them in maven repository. , so, have them installed in eclipse, , should take these. , can't google help, because gradle groovy gives results on how call gradle groovy, not vice versa.
moving plain groovy gradle won't help, gradle support calling java library groovy.
i have nothing against getting dependencies maven rep., don't know how in case - problem is, have eclipse 3.6. , should use last version of groovy eclipse 3.6. so, have installed http://dist.codehaus.org/groovy/distributions/greclipse/snapshot/e3.6/. , don't know equivalent version in maven - there no info it.
there error in groovy in eclipse installation. after running gradle cleaneclipse eclipse
while build.gradle has no dependencies groovy, runs ok, have add groovy nature project
Comments
Post a Comment