Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/noamt/sgvm
A Groovy interface for the GVM
https://github.com/noamt/sgvm
Last synced: 16 days ago
JSON representation
A Groovy interface for the GVM
- Host: GitHub
- URL: https://github.com/noamt/sgvm
- Owner: noamt
- License: apache-2.0
- Created: 2014-02-26T17:04:30.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2014-06-01T10:59:48.000Z (over 10 years ago)
- Last Synced: 2023-03-11T16:26:38.008Z (over 1 year ago)
- Language: Groovy
- Size: 493 KB
- Stars: 10
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.asciidoc
- License: LICENSE
Awesome Lists containing this project
README
= Super Groovy enVironment Manager
*An API for the GVM written in Groovy.*
SGVM helps you use the http://gvmtool.net[awesome GVM] in your automated processes without the hassle of correctly setting up and interacting with the shell.
== Distribution
SGVM is currently distributed via https://bintray.com/noamt/java-libraries/sgvm/view[Bintray] +
image:https://api.bintray.com/packages/noamt/java-libraries/sgvm/images/download.png[link="https://bintray.com/noamt/java-libraries/sgvm/_latestVersion"]== Implemented Methods
=== Use
*Get the http://docs.oracle.com/javase/7/docs/api/java/nio/file/Path.html[path] of the latest locally installed Grails distribution:*
[source,groovy]
----
Path latestInstalledGrails = Gvm.use.grails()
----*Install and get the http://docs.oracle.com/javase/7/docs/api/java/nio/file/Path.html[path] of the latest Grails distribution:*
[source,groovy]
----
Path latestGrails = Gvm.use.grails([install: true])
----*Install and get the http://docs.oracle.com/javase/7/docs/api/java/nio/file/Path.html[path] of a specific Grails distribution:*
[source,groovy]
----
Path grails = Gvm.use.grails([version: '2.1.4', install: true])
----=== Install
*Install and get the http://docs.oracle.com/javase/7/docs/api/java/nio/file/Path.html[path] of the latest Grails distribution:*
[source,groovy]
----
Path latestGrails = Gvm.install.grails()
----*Install and get the http://docs.oracle.com/javase/7/docs/api/java/nio/file/Path.html[path] of the latest Grails distribution and set it as the default version:*
[source,groovy]
----
Path latestGrails = Gvm.install.grails([default: true])
----*Install and get the http://docs.oracle.com/javase/7/docs/api/java/nio/file/Path.html[path] of a specific Grails distribution:*
[source,groovy]
----
Path grails = Gvm.install.grails([version: '2.1.4'])
----=== Uninstall
*Uninstall a Grails distribution:*
[source,groovy]
----
Gvm.uninstall.grails([version: '2.1.4'])
----=== Other supported options
* offline - +false+ by default. Set +true+ in order to work without the remote GVM service.