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

Switch to gradle for build instead of maven #1300

Merged
merged 65 commits into from
Jun 28, 2022
Merged

Switch to gradle for build instead of maven #1300

merged 65 commits into from
Jun 28, 2022

Conversation

ericenns
Copy link
Member

@ericenns ericenns commented Jun 3, 2022

Description of changes

Switched to Gradle from Maven for build scripts.

Related issue

Link to the GitHub issue this pull request addresses using the #issuenum format. If it completes an issue, use Fixes #issuenum to automatically close the issue.

Checklist

Things for the developer to confirm they've done before the PR should be accepted:

  • CHANGELOG.md (and UPGRADING.md if necessary) updated with information for new change.
    * [ ] Tests added (or description of how to test) for any new features.
  • User documentation updated for UI or technical changes.

@ericenns ericenns requested review from deepsidhu85 and apetkau June 6, 2022 21:20
Copy link
Member

@apetkau apetkau left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks so much for all of this Eric. It looks great. I am able to package up and run IRIDA using gradle.

I do have some comments below. Outside of that, I still do have trouble being able to build a production database. If it's already built (e.g., by running an older version of IRIDA), then I can run IRIDA with the prod Spring profile and it all works. But if it's not built then liquibase doesn't get run and I'm still not sure what I'm going wrong.

I was running with:

./gradlew bootRun --args="--irida.db.profile=prod --spring.profiles.active=prod"

doc/developer/doc/index.md Outdated Show resolved Hide resolved
doc/developer/getting-started/index.md Show resolved Hide resolved
doc/administrator/web/building/index.md Outdated Show resolved Hide resolved
doc/administrator/web/building/index.md Outdated Show resolved Hide resolved
doc/developer/getting-started/index.md Show resolved Hide resolved
gradle/wrapper/gradle-wrapper.properties Show resolved Hide resolved
doc/developer/setup/index.md Outdated Show resolved Hide resolved
doc/developer/setup/index.md Outdated Show resolved Hide resolved
run-tests.sh Show resolved Hide resolved
doc/developer/tools/pipelines/index.md Show resolved Hide resolved
@apetkau
Copy link
Member

apetkau commented Jun 15, 2022

One more comment, I think we should update CHANGELOG.md to mention the switch to Gradle.

Copy link
Member

@apetkau apetkau left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks good. Thanks for addressing all my previous comments. I just have one more comment here.

doc/developer/doc/index.md Outdated Show resolved Hide resolved
Copy link
Contributor

@deepsidhu85 deepsidhu85 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks great and works as expected! Thanks @ericenns

@apetkau
Copy link
Member

apetkau commented Jun 28, 2022

Looks great. Merging.

@apetkau apetkau merged commit ae77a62 into development Jun 28, 2022
@ericenns ericenns deleted the gradle branch April 14, 2023 16:39
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

Successfully merging this pull request may close these issues.

4 participants