summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author zaaarf <me@zaaarf.foo>2024-05-09 21:20:09 +0200
committer zaaarf <me@zaaarf.foo>2024-05-31 18:51:24 +0200
commit89b657d397dbe8e786955477d717ee1c8d61fb04 (patch)
tree245bc17d9b3cef1d2f462de5b54004efea95e55c
parent8f6f5615ce4dcfa100e73950195ae872dc8d3032 (diff)
fix: proper use of git version0.5.1
-rw-r--r--build.gradle6
-rw-r--r--src/main/java/ftbsc/lll/proxies/impl/FieldProxy.java2
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
*/