mirror of
https://github.com/EsotericSoftware/reflectasm.git
synced 2025-03-14 03:10:31 +08:00
Add hint on shaded reflectasm and the appropriate deps snippet
This commit is contained in:
parent
6c3d16c5b7
commit
3a155b6a5f
17
README.md
17
README.md
@ -28,6 +28,23 @@ To use reflectasm with maven, please use the following snippet in your pom.xml
|
||||
</dependency>
|
||||
```
|
||||
|
||||
If you already have asm in a different version (than the one pulled in by reflectasm - see pom.xml) in your classpath, you should use the shaded reflectasm (contains relocated asm classes):
|
||||
|
||||
```xml
|
||||
<dependency>
|
||||
<groupId>com.esotericsoftware</groupId>
|
||||
<artifactId>reflectasm</artifactId>
|
||||
<version>1.10.0</version>
|
||||
<classifier>shaded</classifier>
|
||||
<exclusions>
|
||||
<exclusion>
|
||||
<groupId>org.ow2.asm</groupId>
|
||||
<artifactId>asm</artifactId>
|
||||
</exclusion>
|
||||
</exclusions>
|
||||
</dependency>
|
||||
```
|
||||
|
||||
## Usage
|
||||
|
||||
Method reflection with ReflectASM:
|
||||
|
Loading…
Reference in New Issue
Block a user