uap-java
uap-java copied to clipboard
Migrate yaml parsing to compile phase
trafficstars
In order to remove yaml parsers from the uap-java library, we could pre-process the yaml file from uap-core and generate a Map at compile-time.
This would remove the dependency on snakeyaml, and increase the first-start time of the library.
This is really a good idea, I have created https://github.com/ua-parser/uap-java/pull/83 for that.
If you are interested by this idea, I have released this version on maven central:
<dependency>
<groupId>com.unblu.ua-parser</groupId>
<artifactId>uap-java</artifactId>
<version>2.0.0</version>
</dependency>
From the fork https://github.com/unblu/uap-java