lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mark Miller (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (SOLR-13452) Update the lucene-solr build from Ivy+Ant+Maven (shadow build) to Gradle.
Date Wed, 15 May 2019 16:46:00 GMT

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

Mark Miller commented on SOLR-13452:
------------------------------------

bq. What's the exact issue with forbidden-apis? 

It fails because it was checking hadoop classes or something and I see in ant there are excludes
for that, but we don't have them here yet.

bq. IMHO, the build plugin should also contain the JFlex task, currently its applied on top-level.

Yeah, I think that makes sense, JFlex is not fully done yet, maybe 70%.

bq. While playing around, it was hard to me to find all custom defined tasks, as none of them
has a description.

I'll address that.

In general, I just tried to start pulling some config out of the main build.gradle as I find
it becomes hard to follow easily. I don't know if that is good practice or what we should
do or what, but I think for me it made things simpler.

> 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
>      Security Level: Public(Default Security Level. Issues are Public) 
>          Components: Build
>            Reporter: Mark Miller
>            Priority: Major
>
> 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]
> By default, dependencies are not transitive, but there is a special Configuration for
adding dependencies on other project internal modules that are transitive to their direct
external dependencies (their jar libs).
>  



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

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


Mime
View raw message