“Groovy”的版本间的差异

来自linux中国网wiki
跳到导航 跳到搜索
第27行: 第27行:
 
=see also=
 
=see also=
 
[https://www.w3cschool.cn/groovy/ Groovy 教程]
 
[https://www.w3cschool.cn/groovy/ Groovy 教程]
 +
 +
[https://www.jianshu.com/p/e8dec95c4326 Groovy 语言快速入门]
  
 
[https://www.zhihu.com/question/22870020 为什么Groovy语言火不起来?]
 
[https://www.zhihu.com/question/22870020 为什么Groovy语言火不起来?]
  
 
[https://blog.csdn.net/cyh1111/article/details/4128062  Groovy是什么?]
 
[https://blog.csdn.net/cyh1111/article/details/4128062  Groovy是什么?]

2021年5月31日 (一) 14:00的版本

ins

sudo apt install  groovy groovy-doc  #Groovy Version: 2.4.21 JVM: 11.0.8 Vendor: Debian OS: Linux

https://www.osradar.com/install-apache-groovy-ubuntu-debian/

usage

当然也可以直接创建.groovy文件用命令行直接运行。

hello world

emacs    e.groovy
class Example {
   static void main(String[] args) {
      // Using a simple println statement to print output to the console
      println('Hello World');
   }
}


groovy  e.groovy

Hello World

jenkins and groovy

Jenkins插件groovy-postbuild使用(一)-获取jenkins环境变量值和获取build结果

see also

Groovy 教程

Groovy 语言快速入门

为什么Groovy语言火不起来?

Groovy是什么?