Skip to content

Commit 40fb4fa

Browse files
committed
Updated functionality for releasing to bintray
1 parent 2e670e5 commit 40fb4fa

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

build.gradle

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -34,13 +34,6 @@ version = scm.version.version \
3434
.replaceFirst(/^(\d+\.)(\d+).+?(-SNAPSHOT)?$/, '$1$2$3') \
3535
.replaceFirst(/-SNAPSHOT/, ".00${getDate()}")
3636

37-
if (!project.hasProperty('release')) {
38-
// Gradle has been run without option -Prelease - auto increment plugin version
39-
def time = System.currentTimeMillis().intdiv(1000)
40-
def hours = time.intdiv(3600)
41-
version = String.format('%s.%d', version, hours)
42-
}
43-
4437
repositories {
4538
mavenLocal()
4639
// repository with fortify artifacts

0 commit comments

Comments
 (0)