Skip to content

Commit

Permalink
Suppressed gradle-git-properties - see n0mer/gradle-git-properties#175
Browse files Browse the repository at this point in the history
  • Loading branch information
climategadgets committed Apr 3, 2024
1 parent cc09840 commit eaa4fcc
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,11 @@ apply(plugin = "jacoco")
apply(plugin = "net.ltgt.errorprone")

if (project.parent == null) {
// If this project is included as a submodule, this plugin chokes on non-existing ./.git
// and produces very annoying unsuppressable output
// See https://github.com/n0mer/gradle-git-properties/issues/175
apply(plugin = libs.plugins.git.properties.get().pluginId)
// If this project is included as a submodule or is in a Git worktree, this plugin chokes on non-existing ./.git
// and produces very long and annoying unsuppressable output.

// See https://github.com/n0mer/gradle-git-properties/issues/175 - will re-enable when fixed. Not worth it now.
// apply(plugin = libs.plugins.git.properties.get().pluginId)
}

tasks.compileJava {
Expand Down

0 comments on commit eaa4fcc

Please sign in to comment.