Skip to content

Commit 77eaae6

Browse files
authored
Merge pull request #75 from palantir/bkeyes/git-version
Use gradle-git-version instead of flexversion
2 parents 8c05bcd + 0ecf663 commit 77eaae6

1 file changed

Lines changed: 2 additions & 8 deletions

File tree

build.gradle

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,12 @@
11
plugins {
2-
id "com.palantir.flexversion" version "0.9.2"
2+
id "com.palantir.git-version" version "0.11.0"
33
id "com.palantir.jacoco-coverage" version "0.4.0" apply false
44
id "com.github.hierynomus.license" version "0.13.1" apply false
55
}
66

77
apply from: 'gradle/versions.gradle'
88

9-
addPrintVersionTask()
10-
flexversion {
11-
envvarSources << 'CIRCLE_BRANCH'
12-
useTags = true
13-
}
14-
15-
version flexVersion()
9+
version gitVersion()
1610
group = 'com.palantir.giraffe'
1711

1812
ext.localPublishDir = "${buildDir}/m2"

0 commit comments

Comments
 (0)