Skip to content

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.

2 participants