summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--build.gradle6
-rw-r--r--src/main/java/ftbsc/lll/mapper/impl/TSRGMapper.java3
2 files changed, 7 insertions, 2 deletions
diff --git a/build.gradle b/build.gradle
index 7c18fc6..2b3c16b 100644
--- a/build.gradle
+++ b/build.gradle
@@ -3,7 +3,7 @@ plugins {
id 'com.palantir.git-version' version '0.13.0'
}
-archivesBaseName = 'lll-mapper'
+archivesBaseName = 'mapper'
version = gitVersion()
java {
@@ -19,7 +19,9 @@ repositories {
}
dependencies {
- implementation 'ftbsc:lll:0.4.1'
+ implementation 'ftbsc:lll:0.4.2'
+ implementation 'com.google.auto.service:auto-service-annotations:1.1.0'
+ annotationProcessor 'com.google.auto.service:auto-service:1.1.0'
}
jar {
diff --git a/src/main/java/ftbsc/lll/mapper/impl/TSRGMapper.java b/src/main/java/ftbsc/lll/mapper/impl/TSRGMapper.java
index 0fc6489..041fb2f 100644
--- a/src/main/java/ftbsc/lll/mapper/impl/TSRGMapper.java
+++ b/src/main/java/ftbsc/lll/mapper/impl/TSRGMapper.java
@@ -1,5 +1,6 @@
package ftbsc.lll.mapper.impl;
+import com.google.auto.service.AutoService;
import ftbsc.lll.exceptions.MappingNotFoundException;
import ftbsc.lll.mapper.IMapper;
import ftbsc.lll.mapper.tools.ClassData;
@@ -11,6 +12,8 @@ import java.util.Map;
* Parses a .tsrg file into a mapper capable of converting from
* plain names to obfuscated ones and vice versa.
*/
+
+@AutoService(IMapper.class)
public class TSRGMapper implements IMapper {
/**