[testng] 355/355: Include Version.class in the jar.

Eugene Zhukov eugene-guest at moszumanska.debian.org
Tue Aug 18 10:20:24 UTC 2015


This is an automated email from the git hooks/post-receive script.

eugene-guest pushed a commit to annotated tag OpenBSD
in repository testng.

commit 6583ca9cbacee5b49542ea7fc56763821ade93d8
Author: Cedric Beust <cedric at beust.com>
Date:   Sat May 23 12:16:18 2015 -0700

    Include Version.class in the jar.
---
 build.gradle | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/build.gradle b/build.gradle
index 93a2887..fdd74ef 100644
--- a/build.gradle
+++ b/build.gradle
@@ -88,6 +88,11 @@ task myDir {
     mkdir(dirTo)
 }
 
+// Include the generated Version.class in the jar
+jar {
+    from "$buildDir/classes/generated"
+}
+
 task createVersion(type: Copy, dependsOn: myDir) {
     println("Creating Version file: ${version} in ${dirTo}")
     from dirFrom

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-java/testng.git



More information about the pkg-java-commits mailing list