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'