Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Consider using Gradle as a build environment for Alpaca #348

Closed
acoburn opened this issue Aug 25, 2016 · 5 comments
Closed

Consider using Gradle as a build environment for Alpaca #348

acoburn opened this issue Aug 25, 2016 · 5 comments
Assignees

Comments

@acoburn
Copy link
Contributor

acoburn commented Aug 25, 2016

Alpaca currently uses Maven as a build tool. Maven has the advantage of being mature and well supported. It has the disadvantage of being all XML and (according to some) a pain to work with.

Gradle uses a groovy-based DSL and builds on Maven and Ant. It may be considerably easier to use, and I think it would be a good idea to look into it.

@acoburn acoburn added the Alpaca label Aug 25, 2016
@acoburn acoburn self-assigned this Aug 25, 2016
@ruebot
Copy link
Member

ruebot commented Aug 25, 2016

I'm totally game.

@dannylamb
Copy link
Contributor

No love lost there

@acoburn
Copy link
Contributor Author

acoburn commented Aug 26, 2016

As an experiment, I ran gradle init over the existing project and then gradle build. And yes, it builds and runs the tests.

However, I am pretty sure that we need to do some more work to get the OSGi manifests built properly. Here is a suggestion for an approach: it would be good to first split out the sync component (#350), and meanwhile I'll try to get Gradle running with some of my local code. The two things that I think may be challenges are: 1) bundling OSGi and 2) integration tests. And (1) will be considerably easier than (2). These are both solvable, but will take a little work (which I am happy to do).

@acoburn
Copy link
Contributor Author

acoburn commented Sep 5, 2016

Just as an update, I have Gradle working as a build tool on the Alpaca code base. It does everything that maven currently does (OSGi packaging, checkstyle, etc). I would like to add a few additional plugins before submitting a PR, including adding a license plugin and a sonatype publishing plugin.

@ruebot
Copy link
Member

ruebot commented Sep 12, 2016

Resolved with Islandora/Alpaca@302faaf

@ruebot ruebot closed this as completed Sep 12, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants