From 89b657d397dbe8e786955477d717ee1c8d61fb04 Mon Sep 17 00:00:00 2001 From: zaaarf Date: Thu, 9 May 2024 21:20:09 +0200 Subject: [PATCH] fix: proper use of git version --- build.gradle | 6 +++--- src/main/java/ftbsc/lll/proxies/impl/FieldProxy.java | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/build.gradle b/build.gradle index 80b88b4..8197b26 100644 --- a/build.gradle +++ b/build.gradle @@ -4,7 +4,7 @@ plugins { } archivesBaseName = 'lll' -version = gitVersion().split('-').getAt(0).replace('dirty', '') +version = versionDetails().lastTag java { sourceCompatibility = targetCompatibility = JavaVersion.VERSION_1_8 @@ -17,7 +17,7 @@ repositories { } dependencies { - implementation 'org.ow2.asm:asm-commons:9.5' - implementation 'org.ow2.asm:asm-util:9.5' + implementation 'org.ow2.asm:asm-commons:9.7' + implementation 'org.ow2.asm:asm-util:9.7' implementation 'org.apache.logging.log4j:log4j-api:2.20.0' } diff --git a/src/main/java/ftbsc/lll/proxies/impl/FieldProxy.java b/src/main/java/ftbsc/lll/proxies/impl/FieldProxy.java index 75b7fbc..f445ec6 100644 --- a/src/main/java/ftbsc/lll/proxies/impl/FieldProxy.java +++ b/src/main/java/ftbsc/lll/proxies/impl/FieldProxy.java @@ -100,7 +100,7 @@ public class FieldProxy extends AbstractProxy { /** * Sets the type of the field to the given type. - * @param fqn – the fully qualified name of the parameter type + * @param fqn the fully qualified name of the parameter type * @param arrayLevel the array level * @return the builder's state after the change */