n0mer / gradle-git-properties

Gradle plugin for `git.properties` file generation
https://plugins.gradle.org/plugin/com.gorylenko.gradle-git-properties
Apache License 2.0
323 stars 55 forks source link

Issue with Spring Boot when we create Image #214

Open anshuldwivedi opened 2 years ago

anshuldwivedi commented 2 years ago

While using this plugin locally everything works fine. But when i create a image of the project and deploy it to AWS . The git.properties is not getting created. Please let me know if any other additional steps needs to be done or I have missed anything.

anshuldwivedi commented 2 years ago

@n0mer Can you please help me on this issue? I am using git_properties_plugin_version=2.2.2

ym-herby commented 2 years ago

@anshuldwivedi did you ever resolve this issue? I have the same problem. For now I have to ignore the failure to get the build to complete.

gitProperties {
    failOnNoGitDirectory = false
}