Skip to content

Commit 660ffcc

Browse files
committed
make java package version be based on git tags
1 parent c67abce commit 660ffcc

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

build.gradle

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,10 @@ plugins {
1010
// Apply the java-library plugin for API and implementation separation.
1111
id 'java-library'
1212
id 'maven-publish'
13+
id 'com.palantir.git-version' version '0.13.0'
1314
}
1415

15-
version = "0.0.1"
16+
version gitVersion()
1617

1718
repositories {
1819
// Use Maven Central for resolving dependencies.

0 commit comments

Comments
 (0)