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

build: move gradle plugin integration tests to composite build #1654

Merged
merged 1 commit into from
Jan 23, 2023

Conversation

dariuszkuc
Copy link
Collaborator

📝 Description

Moves Gradle plugin integration tests to a composite builds.

Benefits:

  • faster build - integration tests are executed as composite build which can be built in parallel and utilize Gradle build cache to speed up process
  • easier env variable sharing - we no longer need to pass system properties to specify which version of library to use, graphql-kotlin libraries can be referenced without version as they are part of the build and we can rely on same version catalog as main build
  • easier to debug build problems - each integration test is now a valid Gradle project that can be easily loaded in IntelliJ (or build from cmd line)

🔗 Related Issues

Moves Gradle plugin integration tests to a composite builds.

Benefits:
* faster build - integration tests are executed as composite build which can be built in parallel and utilize Gradle build cache to speed up process
* easier env variable sharing - we no longer need to pass system properties to specify which version of library to use, `graphql-kotlin` libraries can be referenced without version as they are part of the build and we can rely on same version catalog as main build
* easier to debug build problems - each integration test is now a valid Gradle project that can be easily loaded in IntelliJ (or build from cmd line)
@dariuszkuc
Copy link
Collaborator Author

NOTE: IntelliJ auto creates those gradle wrapper files for each composite build, will look whether we can easily drop them once I move all the integration tests.

@dariuszkuc dariuszkuc marked this pull request as ready for review January 23, 2023 20:29
@dariuszkuc
Copy link
Collaborator Author

Since the PR is already pretty big -> I'll follow up with separate ones for migrating remaining integration tests.

@samuelAndalon samuelAndalon self-requested a review January 23, 2023 20:33
@samuelAndalon samuelAndalon merged commit ae9b7e9 into ExpediaGroup:master Jan 23, 2023
@dariuszkuc dariuszkuc deleted the plugin_it branch January 23, 2023 20:37
dariuszkuc added a commit that referenced this pull request Jan 26, 2023
### 📝 Description

Migrate last remaining Gradle integration tests to a composite build.

### 🔗 Related Issues

* #1654
* #1656
* #1657
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants