You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@lucene.apache.org by "Mark Miller (Jira)" <ji...@apache.org> on 2019/09/15 19:46:00 UTC

[jira] [Comment Edited] (SOLR-13452) Update the lucene-solr build from Ivy+Ant+Maven (shadow build) to Gradle.

    [ https://issues.apache.org/jira/browse/SOLR-13452?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16930067#comment-16930067 ] 

Mark Miller edited comment on SOLR-13452 at 9/15/19 7:45 PM:
-------------------------------------------------------------

Don't worry, I'm pretty new to it myself (I didn't touch Gradle till a year ago), but I found it way easier and more intuitive than ant+ivy (don't even need to bring in the maven shadow build on this one).

Once you stop trying to program in XML, you get all kinds of warm fuzzies - and not the fuzzies you get when everything is *still* XML but now you have a strong plugin culture. Instead of spending most of your time thinking, "hmm, I'd like a simple X, do I write a whole new plugin or abuse my mind with XML programming - how about neither", you just spend 2 seconds and have X.


was (Author: markrmiller@gmail.com):
Don't worry, I'm pretty knew to it myself (I didn't touch Gradle till a year ago), but I found it way easier and more intuitive than ant+ivy (don't even need to bring in the maven shadow build on this one).

Once you stop trying to program in XML, you get all kinds of warm fuzzies - and not the fuzzies you get when everything is *still* XML but now you have a strong plugin culture. Instead of spending most of your time thinking, "hmm, I'd like a simple X, do I write a whole new plugin or abuse my mind with XML programming - how about neither", you just spend 2 seconds and have X.

> Update the lucene-solr build from Ivy+Ant+Maven (shadow build) to Gradle.
> -------------------------------------------------------------------------
>
>                 Key: SOLR-13452
>                 URL: https://issues.apache.org/jira/browse/SOLR-13452
>             Project: Solr
>          Issue Type: Improvement
>          Components: Build
>            Reporter: Mark Miller
>            Assignee: Mark Miller
>            Priority: Major
>             Fix For: master (9.0)
>
>         Attachments: gradle-build.pdf
>
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> I took some things from the great work that Dat did in [https://github.com/apache/lucene-solr/tree/jira/gradle] and took the ball a little further.
>  
> When working with gradle in sub modules directly, I recommend [https://github.com/dougborg/gdub]
> This gradle branch uses the following plugin for version locking, version configuration and version consistency across modules: [https://github.com/palantir/gradle-consistent-versions]
>  
> https://github.com/apache/lucene-solr/tree/jira/SOLR-13452_gradle_7



--
This message was sent by Atlassian Jira
(v8.3.2#803003)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@lucene.apache.org
For additional commands, e-mail: issues-help@lucene.apache.org