概述
https://stackoverflow.com/questions/63049665/generategitproperties-git-submodule-build-failed-in-heroku
插件 com.gorylenko.gradle-git-properties 引起的,去掉就好了
Error while evaluating property 'generatedProperties' of task ':generateGitProperties'
> No .git directory found!
Exception
org.gradle.api.tasks.TaskExecutionException: Execution failed for task ':generateGitProperties'.
at org.gradle.api.internal.tasks.execution.CatchExceptionTaskExecuter.execute(CatchExceptionTaskExecuter.java:38)
•••
Caused by: org.gradle.api.internal.tasks.properties.PropertyEvaluationException: Error while evaluating property 'generatedProperties' of task ':generateGitProperties'
at org.gradle.api.internal.tasks.properties.InputParameterUtils.prepareInputParameterValue(InputParameterUtils.java:33)
•••
Caused by: java.lang.IllegalStateException: No .git directory found!
at jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
•••
at com.gorylenko.GitProperties.generate(GitProperties.groovy:68)
•••
at com.gorylenko.GenerateGitPropertiesTask.getGeneratedProperties(GenerateGitPropertiesTask.groovy:75)
最后
以上就是冷静朋友为你收集整理的No .git directory found!的全部内容,希望文章能够帮你解决No .git directory found!所遇到的程序开发问题。
如果觉得靠谱客网站的内容还不错,欢迎将靠谱客网站推荐给程序员好友。
本图文内容来源于网友提供,作为学习参考使用,或来自网络收集整理,版权属于原作者所有。
发表评论 取消回复