Groovy是一种基于JVM(Java虚拟机)的敏捷开发语言,它结合了Python、Ruby和Smalltalk的许多强大的特性,Groovy 代码能够与 Java 代码很好地结合,也能用于扩展现有代码。由于其运行在 JVM 上的特性,Groovy也可以使用其他非Java语言编写的库。
一、下载
建议使用4.0及以上版本
https://groovy.apache.org/download.html
# 5.0.0 #Groovy 5.0 is the next major version of Groovy designed for JDK11+. Alpha releases are not recommended for production use. https://groovy.jfrog.io/ui/api/v1/download?repoKey=dist-release-local&path=groovy-windows-installer%252Fgroovy-5.0.0-alpha-2%252Fgroovy-5.0.0-alpha-2.msi&isNativeBrowsing=true # 4.0.15 #Groovy 4.0 is the latest stable version of Groovy designed for JDK8+ with much improved JPMS support. https://groovy.jfrog.io/ui/api/v1/download?repoKey=dist-release-local&path=groovy-windows-installer%252Fgroovy-4.0.15%252Fgroovy-4.0.15.msi&isNativeBrowsing=true
二、安装
三、验证
groovysh
groovy -v