如果我从一个gradle任务中运行这样的groovy脚本:
new GroovyShell().run(file('somePath'))
有没有一种方法,从脚本中返回一些东西给分级任务?
像这样的东西
def file = new GroovyShell().run(file('somePath'))
发布于 2017-05-16 10:45:39
不,从脚本中返回东西是不可能的
https://stackoverflow.com/questions/43915166
相似问题