How to execute git command from build.gradle for build number?

后端 未结 0 527
無奈伤痛
無奈伤痛 2021-02-05 20:19

I am trying to follow the instructions here: https://git-scm.com/docs/git-rev-list

In my build.gradle I have the following code:

def buildNumber = [\'sh\',         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题