From 15c89a6fef5297f02e8a913f7cafa66912f33be7 Mon Sep 17 00:00:00 2001 From: Haowei Wen Date: Sat, 25 Mar 2023 18:28:43 +0800 Subject: [PATCH] update dependencies --- build.gradle | 7 ++++--- .../transform/support/SkinWhitelistTransformUnit.java | 2 +- .../transform/support/YggdrasilKeyTransformUnit.java | 4 +++- 3 files changed, 8 insertions(+), 5 deletions(-) diff --git a/build.gradle b/build.gradle index 7969196..9a9e0f9 100644 --- a/build.gradle +++ b/build.gradle @@ -1,6 +1,6 @@ plugins { id 'com.github.johnrengelman.shadow' version '8.1.1' - id 'com.palantir.git-version' version '0.13.0' + id 'com.palantir.git-version' version '2.0.0' id 'java' } @@ -9,12 +9,13 @@ repositories { } dependencies { - implementation 'org.ow2.asm:asm:9.3' - testImplementation 'org.junit.jupiter:junit-jupiter:5.8.2' + implementation 'org.ow2.asm:asm:9.4' + testImplementation 'org.junit.jupiter:junit-jupiter:5.9.2' } tasks.withType(JavaCompile) { options.release = 8 + options.deprecation = true } def buildNumber = System.getenv('AI_BUILD_NUMBER') diff --git a/src/main/java/moe/yushi/authlibinjector/transform/support/SkinWhitelistTransformUnit.java b/src/main/java/moe/yushi/authlibinjector/transform/support/SkinWhitelistTransformUnit.java index 61f1fc1..e87f2f3 100644 --- a/src/main/java/moe/yushi/authlibinjector/transform/support/SkinWhitelistTransformUnit.java +++ b/src/main/java/moe/yushi/authlibinjector/transform/support/SkinWhitelistTransformUnit.java @@ -1,5 +1,5 @@ /* - * Copyright (C) 2022 Haowei Wen and contributors + * Copyright (C) 2023 Haowei Wen and contributors * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License as published by diff --git a/src/main/java/moe/yushi/authlibinjector/transform/support/YggdrasilKeyTransformUnit.java b/src/main/java/moe/yushi/authlibinjector/transform/support/YggdrasilKeyTransformUnit.java index 2cb1cc1..8145491 100644 --- a/src/main/java/moe/yushi/authlibinjector/transform/support/YggdrasilKeyTransformUnit.java +++ b/src/main/java/moe/yushi/authlibinjector/transform/support/YggdrasilKeyTransformUnit.java @@ -1,5 +1,5 @@ /* - * Copyright (C) 2022 Haowei Wen and contributors + * Copyright (C) 2023 Haowei Wen and contributors * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License as published by @@ -105,6 +105,7 @@ public class YggdrasilKeyTransformUnit implements TransformUnit { } @Override + @Deprecated protected void engineSetParameter(String param, Object value) { } @@ -119,6 +120,7 @@ public class YggdrasilKeyTransformUnit implements TransformUnit { } @Override + @Deprecated protected Object engineGetParameter(String param) { return null; }