From 17e119cfd0329bb9364a8dee886a2a3f7bc8eaba Mon Sep 17 00:00:00 2001 From: Yves Fischer Date: Sat, 30 Jan 2016 20:48:37 +0100 Subject: correctly set the ospackage version --- build.gradle | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'build.gradle') diff --git a/build.gradle b/build.gradle index 23fd73c..75f4766 100644 --- a/build.gradle +++ b/build.gradle @@ -64,7 +64,6 @@ subprojects { classpath: configurations.sshAntTask.asPath) ospackage { - version = "${project.version}-${new Date().format("yyyyMMdd-HHmmss")}" user = 'root' } @@ -81,4 +80,8 @@ subprojects { } upload.group = 'build' upload.dependsOn(buildDeb) + + project.afterEvaluate { + ospackage.version = "${project.version}-${new Date().format("yyyyMMdd-HHmmss")}" + } } \ No newline at end of file -- cgit v1.2.1