gradlew-clean
TypeScript icon, indicating that this package has built-in type declarations

1.0.1 • Public • Published

👋 Welcome to
gradlew-clean

A fast, zero-dependency package for cutting down on common issues developers have when running gradlew clean.

Install gradlew-clean instantly

🚀 Usage

npx gradlew-clean

👋 Notice: This package is not limited to native React projects, you can use project using Android folder (like Ionic, or Flutter).

🤔 Why?

All native packages (especially those installed with NPM) often need to explain the following:

  • How to clean gradlew.
  • cd into the proper directory before running gradlew clean.
  • You may need run gradlew clean to clean android project.

But now you can simply instruct users to run npx gradlew-clean.

This package will do the following:

  • Check if there is an Android project in the project
  • If not then it'll try again in android/ directories (if any exists).
  • Run gradlew clean

⚙️ Options

Flag Input Description Default
--cleanBuildCache [boolean] Cleans the Gradle build cache false

License

The code is made available under the MIT license. Some of the dependencies are licensed differently, with the BSD license, for example.

Package Sidebar

Install

npm i gradlew-clean

Weekly Downloads

4

Version

1.0.1

License

MIT

Unpacked Size

17.4 kB

Total Files

20

Last publish

Collaborators

  • godrix