diff --git a/api/pom.xml b/api/pom.xml index 843ee655c..a6176efd4 100644 --- a/api/pom.xml +++ b/api/pom.xml @@ -5,7 +5,7 @@ luckperms me.lucko - 1.3 + ${global.version} 4.0.0 diff --git a/bukkit/pom.xml b/bukkit/pom.xml index 56c2617f1..631d8cfb9 100644 --- a/bukkit/pom.xml +++ b/bukkit/pom.xml @@ -5,7 +5,7 @@ luckperms me.lucko - 1.3 + ${global.version} 4.0.0 diff --git a/bukkit/src/main/java/me/lucko/luckperms/LPBukkitPlugin.java b/bukkit/src/main/java/me/lucko/luckperms/LPBukkitPlugin.java index 461d09935..b5d31435b 100644 --- a/bukkit/src/main/java/me/lucko/luckperms/LPBukkitPlugin.java +++ b/bukkit/src/main/java/me/lucko/luckperms/LPBukkitPlugin.java @@ -32,8 +32,6 @@ import java.util.stream.Collectors; @Getter public class LPBukkitPlugin extends JavaPlugin implements LuckPermsPlugin { - public static final String VERSION = "v1.3"; - private LPConfiguration configuration; private UserManager userManager; private GroupManager groupManager; @@ -146,7 +144,7 @@ public class LPBukkitPlugin extends JavaPlugin implements LuckPermsPlugin { @Override public String getVersion() { - return VERSION; + return getDescription().getVersion(); } @Override diff --git a/bukkit/src/main/resources/plugin.yml b/bukkit/src/main/resources/plugin.yml index b97d81480..e0d98753d 100644 --- a/bukkit/src/main/resources/plugin.yml +++ b/bukkit/src/main/resources/plugin.yml @@ -1,6 +1,6 @@ name: LuckPerms author: Luck -version: 1.2 +version: ${global.version} main: me.lucko.luckperms.LPBukkitPlugin softdepend: [Vault] description: A permissions plugin diff --git a/bungee/pom.xml b/bungee/pom.xml index 6e6450c5d..95c591368 100644 --- a/bungee/pom.xml +++ b/bungee/pom.xml @@ -5,7 +5,7 @@ luckperms me.lucko - 1.3 + ${global.version} 4.0.0 diff --git a/bungee/src/main/java/me/lucko/luckperms/LPBungeePlugin.java b/bungee/src/main/java/me/lucko/luckperms/LPBungeePlugin.java index 05e3b158e..91e06debd 100644 --- a/bungee/src/main/java/me/lucko/luckperms/LPBungeePlugin.java +++ b/bungee/src/main/java/me/lucko/luckperms/LPBungeePlugin.java @@ -25,8 +25,6 @@ import java.util.stream.Collectors; @Getter public class LPBungeePlugin extends Plugin implements LuckPermsPlugin { - public static final String VERSION = "v1.3"; - private LPConfiguration configuration; private UserManager userManager; private GroupManager groupManager; @@ -106,7 +104,7 @@ public class LPBungeePlugin extends Plugin implements LuckPermsPlugin { @Override public String getVersion() { - return VERSION; + return getDescription().getVersion(); } @Override diff --git a/bungee/src/main/resources/plugin.yml b/bungee/src/main/resources/plugin.yml index 55ae98989..d67940b25 100644 --- a/bungee/src/main/resources/plugin.yml +++ b/bungee/src/main/resources/plugin.yml @@ -1,5 +1,5 @@ name: LuckPerms author: Luck -version: 1.2 +version: ${global.version} main: me.lucko.luckperms.LPBungeePlugin description: A permissions plugin \ No newline at end of file diff --git a/common/pom.xml b/common/pom.xml index ce6b9a436..fca736af6 100644 --- a/common/pom.xml +++ b/common/pom.xml @@ -5,7 +5,7 @@ luckperms me.lucko - 1.3 + ${global.version} 4.0.0 diff --git a/pom.xml b/pom.xml index 940cd554a..2b594f555 100644 --- a/pom.xml +++ b/pom.xml @@ -7,7 +7,7 @@ me.lucko luckperms - 1.3 + ${global.version} bukkit common @@ -16,6 +16,10 @@ pom + + 1.4 + UTF-8 +