i have gradle project working on. project depends on project not integrated gradle. don't not have ownership of dependency project, therefore unable integrate project gradle. depend on other project, have uploaded jar maven repository. has been working fine since haven't been making changes other project.
however, making frequent changes dependency project , must upload new .jar maven repository every time want build gradle project. (by way, dependency non-gradle project built using ant build.xml file.) becoming inefficient.
is there simple way alter build.gradle file run build.xml other project , add outputted .jar in dependency? or have other suggestions.
i'd run ant build part of gradle build
apply plugin 'java' def antproject = 'path/to/antproject'; ant.importbuild "${antproject}/build.xml" compile.dependson sometargetinantfile then can use jar built ant dependency
dependencies { compile filetree(dir: "${antproject}/target", include: "*.jar") }
Comments
Post a Comment