From 435df15127d592bb007c09adf61edaa9ba15736a Mon Sep 17 00:00:00 2001 From: "Davide Andrea \"Murivan\" Mauro" Date: Wed, 13 Mar 2024 10:21:24 +0100 Subject: [PATCH] Version added --- build.gradle | 2 +- src/main/java/arpeggiatorum/Main.java | 1 + src/main/java/arpeggiatorum/gui/GUI.java | 3 ++- 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/build.gradle b/build.gradle index a4155f1..0717fc7 100644 --- a/build.gradle +++ b/build.gradle @@ -7,7 +7,7 @@ application { } group = 'com.github.axelberndt' -version = '2.0' +version = '0.1.0' repositories { mavenCentral() diff --git a/src/main/java/arpeggiatorum/Main.java b/src/main/java/arpeggiatorum/Main.java index ae1168b..3c85a9a 100644 --- a/src/main/java/arpeggiatorum/Main.java +++ b/src/main/java/arpeggiatorum/Main.java @@ -4,6 +4,7 @@ public class Main { + public static final String version = "0.1.0"; /** * execution entry point * diff --git a/src/main/java/arpeggiatorum/gui/GUI.java b/src/main/java/arpeggiatorum/gui/GUI.java index 796de51..a33afd2 100644 --- a/src/main/java/arpeggiatorum/gui/GUI.java +++ b/src/main/java/arpeggiatorum/gui/GUI.java @@ -1,6 +1,7 @@ package arpeggiatorum.gui; import arpeggiatorum.Arpeggiator; +import arpeggiatorum.Main; import arpeggiatorum.notePool.NotePool; import arpeggiatorum.supplementary.NumberTextField; import arpeggiatorum.supplementary.Tools; @@ -96,7 +97,7 @@ public class GUI extends JFrame implements Receiver { * constructor */ public GUI() { - super("Arpeggiatorum"); + super("Arpeggiatorum v"+ Main.version); timeLast = Instant.now(); Tools.printAudioDevices(); // print a list of all available audio devices