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 from Maven to Gradle #1194

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

mathieucarbou
Copy link
Member

@mathieucarbou mathieucarbou commented Oct 2, 2024

  • switch from Maven to Gradle
  • added Checkstyle and header checks
  • reformatted / removed trailing spaces when required
  • merged some modules (like management cluster-topology into management-model)
  • renamed folders to have a better structure (see settings.gradle)

CI result can be seen at: https://github.com/mathieucarbou/terracotta-platform/actions

Requires: Terracotta-OSS/terracotta-gradle-plugins#31

@mathieucarbou mathieucarbou self-assigned this Oct 2, 2024
@mathieucarbou mathieucarbou force-pushed the gradle branch 8 times, most recently from 52cb879 to 64f9505 Compare October 3, 2024 14:37
@mathieucarbou mathieucarbou force-pushed the gradle branch 8 times, most recently from eddec39 to 713dd08 Compare October 16, 2024 16:37
@mathieucarbou mathieucarbou force-pushed the gradle branch 13 times, most recently from e8143f0 to 3029fee Compare October 23, 2024 22:07
Comment on lines +40 to +45
LicenseService licenseService = findService(platformConfiguration, LicenseService.class);
if(licenseService == LicenseService.UNSUPPORTED) {
// no license service, no data roots
return;
}

Copy link
Member Author

Choose a reason for hiding this comment

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

Such check allow to have common layout between EE and OSS but only apply resources (or eventually services) when a license service is there

@mathieucarbou mathieucarbou force-pushed the gradle branch 6 times, most recently from 9fd3a1c to f141d31 Compare December 20, 2024 15:38
@mathieucarbou mathieucarbou marked this pull request as ready for review December 20, 2024 15:42
@mathieucarbou
Copy link
Member Author

@chrisdennis : gradle migration is finished, build pass locally. For now, the build runs through GitHub workflow (see link in my fork above), because I have a control over that).

We could decide to do a mix between building with GithHub or Azure and then deploying with Azure.

The only part remaining is then the CI part with Azure if we keep it, I just don't know which project to take as example.

Or should we for example do something like that: https://github.com/Terracotta-OSS/terracotta-utilities/blob/master/build.gradle.kts#L28-L57

@mathieucarbou mathieucarbou force-pushed the gradle branch 5 times, most recently from bdafc7b to 7364fbd Compare December 20, 2024 18:28
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.

1 participant