Skip to content

Commit 10e2f0e

Browse files
committed
scm4j-wf support added
1 parent 8c44fee commit 10e2f0e

File tree

3 files changed

+13
-3
lines changed

3 files changed

+13
-3
lines changed

build.gradle

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ sourceCompatibility = JavaVersion.VERSION_1_7
1212
targetCompatibility = JavaVersion.VERSION_1_7
1313

1414
group = 'org.scm4j'
15-
version = '4.0-SNAPSHOT'
15+
version = file('version').text.trim()
1616

1717
configurations.all {
1818
resolutionStrategy.cacheChangingModulesFor 0, 'seconds'
@@ -33,12 +33,19 @@ repositories {
3333
defaultTasks 'build';
3434

3535
dependencies {
36-
compile 'com.github.scm4j:scm4j-vcs-api:master-SNAPSHOT'
36+
// load managed dependencies
37+
def s = '[ \t]*', w = '[^:#@]+?'
38+
(file('mdeps').text =~ /(?m)^$s($w):($w):($w)?(:$w)?(@$w)?$s(?:#$s($w)?$s)?$/).each {
39+
match, group, name, version, classifier, ext, configuration ->
40+
add(configuration ?: name.contains('test') ? 'testCompile' : 'compile', "$group:$name:${version?:''}${classifier?:''}${ext?:''}")
41+
}
42+
43+
//compile 'com.github.scm4j:scm4j-vcs-api:master-SNAPSHOT'
3744
compile 'org.tmatesoft.svnkit:svnkit:1.8.14'
3845
compile 'org.apache.commons:commons-lang3:3.5'
3946

4047
testCompile 'junit:junit:4.12'
41-
testCompile 'com.github.scm4j:scm4j-vcs-test:master-SNAPSHOT'
48+
//testCompile 'com.github.scm4j:scm4j-vcs-test:master-SNAPSHOT'
4249
testCompile 'org.mockito:mockito-core:2.0.62-beta'
4350
}
4451

mdeps

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
com.github.scm4j:scm4j-vcs-api:master-SNAPSHOT
2+
com.github.scm4j:scm4j-vcs-test:master-SNAPSHOT

version

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
4.0-SNAPSHOT

0 commit comments

Comments
 (0)