我是靠谱客的博主 冷静朋友,这篇文章主要介绍No .git directory found!,现在分享给大家,希望可以做个参考。

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内容请搜索靠谱客的其他文章。

本图文内容来源于网友提供,作为学习参考使用,或来自网络收集整理,版权属于原作者所有。
点赞(119)

评论列表共有 0 条评论

立即
投稿
返回
顶部