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

Let ./gradlew clean clean everything #10601

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

Conversation

snazy
Copy link
Member

@snazy snazy commented Jun 28, 2024

... including:

  • not-enabled Spark versions
    • remove the spark-warehouse directories in Spark versions
  • not-enabled Flink versions
  • site/ directories
  • venv/ in site/ and open-api/

... including:
* not-enabled Spark versions
* not-enabled Flink versions
* site/ directories
* venv/ in site/ and open-api/
apply from: file("$projectDir/v3.5/build.gradle")
tasks.named("clean", Delete) {
for (ver in knownSparkVersions) {
delete("$projectDir/v${ver}/spark/build")
Copy link
Contributor

Choose a reason for hiding this comment

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

this (and other build) folder(s) seem to be properly cleaned up when running ./gradlew clean so why would we want to add them here?

Copy link
Member Author

Choose a reason for hiding this comment

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

"versions" that are not enabled in the current build are not properly cleaned up, right?

Copy link
Contributor

Choose a reason for hiding this comment

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

one could argue that clean should only be running against the Spark version(s) that are currently being passed to Gradle rather than calling clean against all known Spark modules

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants