Skip to content

Commit dae7da2

Browse files
author
Evgeny Shepelyuk
committed
Branch tasks
1 parent e747bad commit dae7da2

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

build.gradle

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,8 @@ dependencies {
2626
compile gradleApi()
2727
compile 'org.eclipse.jgit:org.eclipse.jgit:2.0.0.201206130900-r'
2828
compile 'org.eclipse.jgit:org.eclipse.jgit.ui:2.0.0.201206130900-r'
29+
testCompile( 'org.spockframework:spock-core:0.7-groovy-1.8' ) { exclude group: 'org.codehaus.groovy' }
30+
testCompile 'junit:junit:4.10'
2931
}
3032

3133
githubPages {

src/test/groovy/org/ajoberstar/gradle/git/tasks/GitBranchCreateTest.groovy

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ public class GitBranchCreateTest extends Specification {
117117
def 'when create branch wish existing name w/ `force` then OK'() {
118118
given:
119119
git.branchCreate().setName("branch1").call()
120-
; project.tasks.add(name: 'branchCreate', type: GitBranchCreate) {
120+
project.tasks.add(name: 'branchCreate', type: GitBranchCreate) {
121121
branchName = 'branch1'
122122
force = true
123123
}

0 commit comments

Comments
 (0)