update dependencies

This commit is contained in:
Haowei Wen 2023-03-25 18:28:43 +08:00
parent 97fbb3e0c0
commit 15c89a6fef
3 changed files with 8 additions and 5 deletions

View file

@ -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')

View file

@ -1,5 +1,5 @@
/*
* Copyright (C) 2022 Haowei Wen <yushijinhun@gmail.com> and contributors
* Copyright (C) 2023 Haowei Wen <yushijinhun@gmail.com> 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

View file

@ -1,5 +1,5 @@
/*
* Copyright (C) 2022 Haowei Wen <yushijinhun@gmail.com> and contributors
* Copyright (C) 2023 Haowei Wen <yushijinhun@gmail.com> 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;
}