Update dependencies

This commit is contained in:
games647
2024-05-03 10:43:57 +02:00
parent cf4d19aeca
commit 8e35c5df90
7 changed files with 32 additions and 55 deletions
+9 -39
View File
@@ -39,6 +39,13 @@
<artifactId>fastlogin.core</artifactId>
<packaging>jar</packaging>
<properties>
<maven.compiler.source>8</maven.compiler.source>
<maven.compiler.target>8</maven.compiler.target>
<!-- Make Java 21 test method available in this multi-release project: Caution of breaking older systems -->
<maven.compiler.release>21</maven.compiler.release>
</properties>
<name>FastLoginCore</name>
<repositories>
@@ -142,7 +149,7 @@
<dependency>
<groupId>net.md-5</groupId>
<artifactId>bungeecord-config</artifactId>
<version>1.19-R0.1-SNAPSHOT</version>
<version>1.20-R0.2-SNAPSHOT</version>
</dependency>
<!--Floodgate for Xbox Live Authentication-->
@@ -191,44 +198,7 @@
<dependency>
<groupId>com.github.games647</groupId>
<artifactId>craftapi</artifactId>
<version>0.7</version>
</dependency>
<!-- APIs we can use because they are available in all platforms (Spigot, Bungee, Velocity) -->
<dependency>
<groupId>com.google.guava</groupId>
<artifactId>guava</artifactId>
<!-- Old version for velocity -->
<version>25.1-jre</version>
<!-- Exclude compile time dependencies not marked as such on upstream -->
<exclusions>
<exclusion>
<groupId>com.google.code.findbugs</groupId>
<artifactId>jsr305</artifactId>
</exclusion>
<exclusion>
<groupId>org.checkerframework</groupId>
<artifactId>checker-qual</artifactId>
</exclusion>
<exclusion>
<groupId>com.google.errorprone</groupId>
<artifactId>error_prone_annotations</artifactId>
</exclusion>
<exclusion>
<groupId>com.google.j2objc</groupId>
<artifactId>j2objc-annotations</artifactId>
</exclusion>
<exclusion>
<groupId>org.codehaus.mojo</groupId>
<artifactId>animal-sniffer-annotations</artifactId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>com.google.code.gson</groupId>
<artifactId>gson</artifactId>
<version>2.10.1</version>
<version>0.8</version>
</dependency>
<dependency>
@@ -97,10 +97,15 @@ public class StoredProfile extends Profile {
this.id = uniqueId;
}
@Deprecated
public synchronized boolean isPremium() {
return premium;
}
public synchronized boolean isOnlinemodePreferred() {
return premium;
}
public synchronized void setPremium(boolean premium) {
this.premium = premium;
}