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

Migration to building with Gradle, remove UI and documentation bundles/build #11

Merged
merged 14 commits into from
Aug 20, 2024

Conversation

stempler
Copy link
Member

No description provided.

ING-4375

BREAKING CHANGE: Core libraries are now no longer part of the hale
studio repository but were moved to this repository (hale-core).
This fix is required to load plugin.xml files when running unit tests
for the same project. Otherwise the project would not load because no
MANIFEST.MF file can be located.
Copy link

This PR cannot be merged yet because a required label is missing: challenged. It needs to be added before this PR can be merged.

id 'hale.common'
}

spotless {
java {
importOrder()
Copy link
Member

@florianesser florianesser Aug 19, 2024

Choose a reason for hiding this comment

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

I think using importOrder('java', 'javax', 'org', 'com', '') would avoid the reordering of imports and restore the previous behaviour of the Eclipse formatter. Would anything speak against that from your perspective?

image

Copy link
Member Author

Choose a reason for hiding this comment

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

Sure, fine for me.


spotless {
groovy {
importOrder()
Copy link
Member

Choose a reason for hiding this comment

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

While not restoring original behaviour, we could use importOrder('groovy', 'java', 'javax', 'org', 'com', '') here to align it with the Java import order I suggested below.

Copy link
Member Author

Choose a reason for hiding this comment

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

Sure, fine for me.

@florianesser
Copy link
Member

@stempler I prepared the changes to the importOrder configuration and ran ./gradlew spotlessApply but I can't push the commits. I assume that I don't have write permission to the repository, could you please check?

@stempler
Copy link
Member Author

@florianesser Should work now

Copy link
Member

@florianesser florianesser left a comment

Choose a reason for hiding this comment

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

LGTM

@stempler
Copy link
Member Author

@florianesser I rebased your changes on top of the first time applying the formatting, so we don't have import changes in between. Would merge once the checks are successful.

@stempler stempler merged commit 96d9bd7 into master Aug 20, 2024
6 of 7 checks passed
@stempler stempler deleted the core-migration branch August 20, 2024 07:59
@florianesser
Copy link
Member

This PR cannot be merged yet because a required label is missing: challenged. It needs to be added before this PR can be merged.

I added the challenged label to this repo now so it can be used for future PRs

Copy link

we-release bot commented Sep 5, 2024

🎉 This PR is included in version 6.0.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

@we-release we-release bot added the released label Sep 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants