[DISCUSS] Moving from Ant build to Gradle

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

[DISCUSS] Moving from Ant build to Gradle

caomanhdat
Hi all,

Recently I wanted to create another module in Solr to group all common dependencies of Server and Solrj module. It seems that to do such kind of thing is very painful, including hacks and adding support for different ide and maven. Should we consider on moving to Gradle which seems better and standard nowadays?

Thanks!
Dat
Reply | Threaded
Open this post in threaded view
|

Re: [DISCUSS] Moving from Ant build to Gradle

Ryan Ernst
There was an issue before (https://issues.apache.org/jira/browse/LUCENE-5755) that looked at switching to some other build system. A few were discussed, but at the time nobody had the time to do the work. I've investigated migrating to gradle a couple times in the past, but there is so much stuff in the ant build (and the shadow maven build) that migration becomes a lot of work to swtich everythin at once. The last time I looked, though, was about 1.5 years ago. It is something I would like to pick back up, but still do not have the time to invest personally.

On Wed, Oct 10, 2018 at 3:53 PM Đạt Cao Mạnh <[hidden email]> wrote:
Hi all,

Recently I wanted to create another module in Solr to group all common dependencies of Server and Solrj module. It seems that to do such kind of thing is very painful, including hacks and adding support for different ide and maven. Should we consider on moving to Gradle which seems better and standard nowadays?

Thanks!
Dat
Reply | Threaded
Open this post in threaded view
|

Re: [DISCUSS] Moving from Ant build to Gradle

caomanhdat
Hi Ryan,

Do you have a wip patch? That will be helpful for others who want to continue from your work. The current ant build have tons of tasks but we may want to port several most important tasks.


On Thu, Oct 11, 2018 at 8:37 PM Ryan Ernst <[hidden email]> wrote:
There was an issue before (https://issues.apache.org/jira/browse/LUCENE-5755) that looked at switching to some other build system. A few were discussed, but at the time nobody had the time to do the work. I've investigated migrating to gradle a couple times in the past, but there is so much stuff in the ant build (and the shadow maven build) that migration becomes a lot of work to swtich everythin at once. The last time I looked, though, was about 1.5 years ago. It is something I would like to pick back up, but still do not have the time to invest personally.

On Wed, Oct 10, 2018 at 3:53 PM Đạt Cao Mạnh <[hidden email]> wrote:
Hi all,

Recently I wanted to create another module in Solr to group all common dependencies of Server and Solrj module. It seems that to do such kind of thing is very painful, including hacks and adding support for different ide and maven. Should we consider on moving to Gradle which seems better and standard nowadays?

Thanks!
Dat
Reply | Threaded
Open this post in threaded view
|

Re: [DISCUSS] Moving from Ant build to Gradle

Ryan Ernst
Unfortunately I never got far enough to get a basic build working, and I don't have the code anymore. I would start by creating a script to convert ivy files into build.gradle files, and see if basic compilation can be made to work. 

On Thu, Oct 11, 2018, 15:49 Đạt Cao Mạnh <[hidden email]> wrote:
Hi Ryan,

Do you have a wip patch? That will be helpful for others who want to continue from your work. The current ant build have tons of tasks but we may want to port several most important tasks.


On Thu, Oct 11, 2018 at 8:37 PM Ryan Ernst <[hidden email]> wrote:
There was an issue before (https://issues.apache.org/jira/browse/LUCENE-5755) that looked at switching to some other build system. A few were discussed, but at the time nobody had the time to do the work. I've investigated migrating to gradle a couple times in the past, but there is so much stuff in the ant build (and the shadow maven build) that migration becomes a lot of work to swtich everythin at once. The last time I looked, though, was about 1.5 years ago. It is something I would like to pick back up, but still do not have the time to invest personally.

On Wed, Oct 10, 2018 at 3:53 PM Đạt Cao Mạnh <[hidden email]> wrote:
Hi all,

Recently I wanted to create another module in Solr to group all common dependencies of Server and Solrj module. It seems that to do such kind of thing is very painful, including hacks and adding support for different ide and maven. Should we consider on moving to Gradle which seems better and standard nowadays?

Thanks!
Dat