/powershell-gradle-spring-boot-aliases

:octocat: Powershell aliases for spring boot projects build with gradle.

Primary LanguagePowerShellMIT LicenseMIT

Gradle Spring Boot aliases for PowerShell

license PowerShell Gallery PowerShell Gallery

A PowerShell module that provides aliases for the most common commands for Spring Boot projects build with Gradle.

ℹ️ This module will replace some built-in PowerShell aliases with our Gradle Spring Boot aliases to prevent conflicts.

💻 Prerequisite

✔ Spring Boot project build with Gradle

⚙️ Installation

Install from PowerShell Gallery using the following powershell command:

Install-Module gradle-spring-boot-aliases -Scope CurrentUser -AllowClobber

Add below command into your PowerShell profile file:

Import-Module gradle-spring-boot-aliases -DisableNameChecking

Restart your powershell and now you can use gradle-spring-boot aliases. 🚀

👉 Additional notes

If you haven't allowed script execution policy, set your script execution policy to RemoteSigned or Unrestricted.

Set-ExecutionPolicy RemoteSigned -Scope CurrentUser

If you don't have PowerShell profile yet, create it with below command!

New-Item -ItemType File $profile

🚀 Supported Aliases

The following aliases are currently implemented:

Alias Command
gw gradlew
gwa gradlew assemble
gwb gradlew build
gwc gradlew clean
gwr gradlew bootRun
gwt gradlew allTests
gwst gradlew --status

Miscellaneous

🤝 Contributing

Contributions, issues and feature requests are welcome!

Show your support

Give a ⭐️ if this project helped you!

📝 License

Copyright © 2023 pgebert.
This project is licensed under MIT.