[
https://issues.apache.org/jira/browse/LUCENE-5755?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14029161#comment-14029161
]
Uwe Schindler edited comment on LUCENE-5755 at 6/12/14 2:05 PM:
----------------------------------------------------------------
I am fine with both ([~ehatcher] mentioned Buildr), but gradle looks more
java-centric, so better to build java projects.
It also looks like we can use "ANT tasks" using the AntBuilder groovy API
(which is not part of gradle, its inherited from groovy). So it looks like we
can download ANT tasks like forbidden, javacc, jflex as dependency, create a
classpath and then execute them as custom tasks. The magic here is Grape
(http://groovy.codehaus.org/Grape).
P.S.: If you have an example how to use the forbidden-apis task from gradle, I
would be happy to add an example to its wiki page.
was (Author: thetaphi):
I am fine with borth, but gradle looks more java-centric, so better to build
java projects.
It also looks like we can use "ANT tasks" using the AntBuilder groovy API
(which is not part of gradle, its inherited from groovy). So it looks like we
can download ANT tasks like forbidden, javacc, jflex as dependency, create a
classpath and then execute them as custom tasks. The magic here is Grape
(http://groovy.codehaus.org/Grape).
P.S.: If you have an example how to use the forbidden-apis task from gradle, I
would be happy to add an example to its wiki page.
> Explore alternative build systems
> ---------------------------------
>
> Key: LUCENE-5755
> URL: https://issues.apache.org/jira/browse/LUCENE-5755
> Project: Lucene - Core
> Issue Type: Task
> Reporter: Dawid Weiss
> Assignee: Dawid Weiss
> Priority: Minor
>
> I am dissatisfied with how ANT and submodules currently work in Lucene/ Solr.
> It's not even the tool's fault; it seems Lucene builds just hit the borders
> of what it can do, especially in terms of submodule dependencies etc.
> I don't think Maven will help much too, given certain things I'd like to have
> in the build (for example collect all tests globally for a single execution
> phase at the end of the build, to support better load-balancing).
> I'd like to explore Gradle as an alternative. This task is a notepad for
> thoughts and experiments.
> An example of a complex (?) gradle build is javafx, for example.
> http://hg.openjdk.java.net/openjfx/8/master/rt/file/f89b7dc932af/build.gradle
--
This message was sent by Atlassian JIRA
(v6.2#6252)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]