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

Recommend never using clean task #2

Open
lacasseio opened this issue May 19, 2022 · 1 comment
Open

Recommend never using clean task #2

lacasseio opened this issue May 19, 2022 · 1 comment

Comments

@lacasseio
Copy link
Member

Let's create an FYI entry on why clean tasks should mostly never be used.

@lacasseio
Copy link
Member Author

It's important for users to understand that clean is an error (philosophically). We should never have to rebuild or simply clean. Given that build-cache should be enabled by default, execution like ./gradlew clean assemble should simply restore from the cache, hence unless. It also shows a lack of confidence in the tools which should be addressed at its core, by opening issues on the Nokee or Gradle repositories clearly stating the concerns so we can provide the necessary documentation/data/research to clarify any confusion around using clean.

Aside from the FYI entry, we may explicitly warn users when clean task is invoked pointing to this entry to ensure clean task is properly used.

@lacasseio lacasseio transferred this issue from nokeedev/gradle-native May 20, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant