mirror of
https://github.com/zaaarf/lillero-mapper.git
synced 2024-11-13 00:39:20 +01:00
fix: implemented autoservice
This commit is contained in:
parent
e4f8a565f6
commit
957a0a5f33
2 changed files with 7 additions and 2 deletions
|
@ -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 {
|
||||
|
|
|
@ -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 {
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in a new issue