mirror of
https://github.com/zaaarf/lillero-mapper.git
synced 2024-11-22 21:04:49 +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'
|
id 'com.palantir.git-version' version '0.13.0'
|
||||||
}
|
}
|
||||||
|
|
||||||
archivesBaseName = 'lll-mapper'
|
archivesBaseName = 'mapper'
|
||||||
version = gitVersion()
|
version = gitVersion()
|
||||||
|
|
||||||
java {
|
java {
|
||||||
|
@ -19,7 +19,9 @@ repositories {
|
||||||
}
|
}
|
||||||
|
|
||||||
dependencies {
|
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 {
|
jar {
|
||||||
|
|
|
@ -1,5 +1,6 @@
|
||||||
package ftbsc.lll.mapper.impl;
|
package ftbsc.lll.mapper.impl;
|
||||||
|
|
||||||
|
import com.google.auto.service.AutoService;
|
||||||
import ftbsc.lll.exceptions.MappingNotFoundException;
|
import ftbsc.lll.exceptions.MappingNotFoundException;
|
||||||
import ftbsc.lll.mapper.IMapper;
|
import ftbsc.lll.mapper.IMapper;
|
||||||
import ftbsc.lll.mapper.tools.ClassData;
|
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
|
* Parses a .tsrg file into a mapper capable of converting from
|
||||||
* plain names to obfuscated ones and vice versa.
|
* plain names to obfuscated ones and vice versa.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
@AutoService(IMapper.class)
|
||||||
public class TSRGMapper implements IMapper {
|
public class TSRGMapper implements IMapper {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Reference in a new issue