From a99b8a45a76025eaccc760a4848d6941f9a2da7a Mon Sep 17 00:00:00 2001 From: SammyIAm Date: Thu, 3 May 2018 22:14:49 -0700 Subject: [PATCH] Add versioning info --- Java/MoppyControlGUI/build.gradle | 8 ++++++++ Java/MoppyLib/build.gradle | 8 ++++++++ 2 files changed, 16 insertions(+) diff --git a/Java/MoppyControlGUI/build.gradle b/Java/MoppyControlGUI/build.gradle index ea6412a..85343f2 100644 --- a/Java/MoppyControlGUI/build.gradle +++ b/Java/MoppyControlGUI/build.gradle @@ -2,6 +2,14 @@ apply plugin: 'java' apply plugin: 'application' mainClassName = 'com.moppy.control.MoppyControlGUI' +version = '2.0.0' + +jar { + manifest { + attributes 'Main-Class': mainClassName, + 'Implementation-Version': version + } +} sourceCompatibility = '1.8' [compileJava, compileTestJava]*.options*.encoding = 'UTF-8' diff --git a/Java/MoppyLib/build.gradle b/Java/MoppyLib/build.gradle index 1b9f90f..6a73938 100644 --- a/Java/MoppyLib/build.gradle +++ b/Java/MoppyLib/build.gradle @@ -1,5 +1,13 @@ apply plugin: 'java' +version = '2.0.0' + +jar { + manifest { + attributes 'Implementation-Version': version + } +} + sourceCompatibility = '1.8' [compileJava, compileTestJava]*.options*.encoding = 'UTF-8'