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

Feature: provide a Powershell module #23

Open
6 tasks
phreed opened this issue Sep 24, 2021 · 5 comments
Open
6 tasks

Feature: provide a Powershell module #23

phreed opened this issue Sep 24, 2021 · 5 comments

Comments

@phreed
Copy link

phreed commented Sep 24, 2021

Describe the need
Gradle is available on windows 10.
It is difficult to use 'gw' on windows 10.

Proposed Change
Provide the capabilities of the 'gng' bash script:

  • 'gng.psm1' a Powershell module providing
    • 'Invoke-Gradle' : a function which finds 'gradle.bat' and runs it with the specified tasks
    • 'Install-GradleWrapper' : a function which initializes the specified directory with a gradle wrapper
    • 'Get-GradleCert' : a function which runs keytool
  • 'install.ps1' : a script to install from the git repository into a PowerShell module directory
  • 'index-powershell.asciidoc' : documentation for the thing

I have been working on a fork which has these features.
babeloff#1

I am seeking guidance to get the changes incorporated into this upstream project.

@dantesun
Copy link
Member

please create pull request, thanks.

@phreed
Copy link
Author

phreed commented Oct 13, 2021

I have made a version and pushed it to https://www.powershellgallery.com/packages/GradleWrapperModule/0.0.2
I have been using it myself but it needs more polish.
I am not happy with the error messages and I am thinking about switching from the multitude of command line options to the configuration file. I have switched to using yaml for the config file.

@phreed
Copy link
Author

phreed commented Oct 13, 2021

I will make a pull request but I am not happy with how it is working.

@phreed
Copy link
Author

phreed commented Oct 13, 2021

Could you give some explanation on the purpose of keytool? i.e. Get-GradleCert

@dantesun
Copy link
Member

keytool is used to add certificates to JVM keystore.

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

No branches or pull requests

2 participants