Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/main/groovy/nebula/plugin/release/ReleasePlugin.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ class ReleasePlugin implements Plugin<Project> {
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)
Expand Down