Git rev-list not working in Android Studio build.gradle

前端 未结 5 517
清歌不尽
清歌不尽 2020-12-20 01:36

I\'ve setup my Android Studio Project to work with Github. Here is my Manifext

apply plugin: \'com.android.application\'


def gitVersion() {
    def counter         


        
5条回答
  •  春和景丽
    2020-12-20 02:30

    Just specify the working directory for execute():

    .execute([], project.rootDir)
    

提交回复
热议问题