SpiceIt
A collection of nice, easy to use features to make your code spicier.
Getting started
SpiceIt features are exposed by the API module: go on and import it as a Maven dependency:
<dependency>
<groupId>gg.neko.spiceit</groupId>
<artifactId>spiceit-api</artifactId>
<version>0.1</version>
</dependency>
Making it work
SpiceIt needs to inject its magic into your bytecode.
It can do so with either its Maven plugin or its Java agent.
- Maven plugin
add this plugin to yourpom.xml
plugins section:<plugin> <groupId>gg.neko.spiceit</groupId> <artifactId>spiceit-maven-plugin</artifactId> <version>0.1</version> <executions> <execution> <goals> <goal>spiceit</goal> </goals> </execution> </executions> </plugin>
- Java agent
download the agent from Maven Central Repository (or compile it from source, if that's your thing) and launch your application with this option:-javaagent:spiceit-agent-0.1-jar-with-dependencies.jar
Check out the example projects making use of Maven plugin and Java agent.
Available features
Here are the spicy features!
More coming soon™
Transitive dependencies
Just SLF4J for logging, already provided by SpiceIt API module.
Since it's a simple façade for various logging framework, you can choose your favorite implementation, e.g. logback or log4j.
License
Licensed under the MIT License.