diff --git a/src/main/groovy/nebula/plugin/release/ReleasePlugin.groovy b/src/main/groovy/nebula/plugin/release/ReleasePlugin.groovy index 79a62b3..5da752a 100644 --- a/src/main/groovy/nebula/plugin/release/ReleasePlugin.groovy +++ b/src/main/groovy/nebula/plugin/release/ReleasePlugin.groovy @@ -74,7 +74,7 @@ class ReleasePlugin implements Plugin { void apply(Project project) { this.project = project - def gitRoot = project.hasProperty('git.root') ? project.property('git.root') : project.rootProject.projectDir + def gitRoot = project.hasProperty('git.root') ? project.file(project.property('git.root')) : project.rootProject.projectDir try { git = Grgit.open(dir: gitRoot)