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

Gradle support #118

Open
JulianSauer opened this issue Oct 4, 2018 · 3 comments
Open

Gradle support #118

JulianSauer opened this issue Oct 4, 2018 · 3 comments

Comments

@JulianSauer
Copy link

Is it necessary to use Maven for Java builds? I've set up a Gradle project, however when creating a pipeline in Gaia I get the following error:
The goal you specified requires a project to execute but there is no POM in this directory

This led me to the assumption that Gaia interprets any Java project as a Maven project. Is that currently the case or is there a way to get around it?

@michelvocks
Copy link
Member

Welcome @JulianSauer 🤗

Yes, your assumption is right. The build system and the Gaia java SDK are both tightly coupled to maven which was an early decision due to the reason that maven is widely used. Many programming languages offer/support multiple build systems and dependency managers. It's, sadly, not possible to support all of them so we have to decide early on which one we will support. The decision for java was maven.

If you really want to use Gradle for your Gaia pipelines, feel free to contribute and start a new PR! 🤗

@JulianSauer
Copy link
Author

I thought at first that the code within the Handler interface would simply be executed so I used the Gradle Tooling API to execute my build tasks. Does the Java SDK work similar with Maven?
And is there a documentation on how to contribute? (E.g. how to run/debug the project) :)

@michelvocks
Copy link
Member

@JulianSauer You can find the source code here: https://github.com/gaia-pipeline/javasdk

You can find a basic guide in the README.md file (https://github.com/gaia-pipeline/gaia#contributing).
Please open a new issue if you stuck somewhere or you think documentation is missing. 😄

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

2 participants