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.
✔ Spring Boot project build with Gradle
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. 🚀
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
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 |
Contributions, issues and feature requests are welcome!
Give a ⭐️ if this project helped you!
Copyright © 2023 pgebert.
This project is licensed under MIT.