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

chore: remove gradle duplicates from composite builds #1721

Merged
merged 1 commit into from
Mar 16, 2023

Conversation

dariuszkuc
Copy link
Collaborator

📝 Description

In order to keep intellij "happy" we need to have gradle/wrapper/gradle.properties (as otherwise it will attempt to recreate it). In order to avoid duplication of having multiple wrappers (oneper each composite build) potentially running different versions of Gradle, I've updated them to follow symbolic links instead.

NOTE: this change introduces linux symbolic links which means they will not work for Windows machines. It is inconvenient but it is the simplest way to dedup those scripts. Windows users will have to execute gradlew.bat from root dir OR invoke Gradle directly.

🔗 Related Issues

N/A

In order to keep intellij "happy" we need to have `gradle/wrapper/gradle.properties` (as otherwise it will attempt to recreate it). In order to avoid duplication of having multiple wrappers (oneper each composite build) potentially running different versions of Gradle, I've updated them to follow symbolic links instead.

NOTE: this change introduces linux symbolic links which means they will not work for Windows machines. It is inconvenient but it is the simplest way to dedup those scripts. Windows users will have to execute `gradlew.bat` from root dir OR invoke Gradle directly.
@dariuszkuc dariuszkuc enabled auto-merge (squash) March 13, 2023 19:26
@dariuszkuc dariuszkuc changed the title chore: remove duplicate gradle wrapper scripts from composite builds chore: update to gradle 8 and remove gradle duplicates from composite builds Mar 13, 2023
@dariuszkuc dariuszkuc disabled auto-merge March 13, 2023 19:44
@dariuszkuc dariuszkuc changed the title chore: update to gradle 8 and remove gradle duplicates from composite builds chore: remove gradle duplicates from composite builds Mar 13, 2023
@dariuszkuc
Copy link
Collaborator Author

looks like bump to gradle v8 requires some additional changes -> will use separate PR for that

@dariuszkuc dariuszkuc merged commit 256cfa4 into ExpediaGroup:master Mar 16, 2023
@dariuszkuc dariuszkuc deleted the symlinks branch March 16, 2023 17:25
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