An open API service indexing awesome lists of open source software.

https://github.com/bobozhengsir/gradle-jmh-example

A gradle multi projects with jmh
https://github.com/bobozhengsir/gradle-jmh-example

gradle gradle-java jmh

Last synced: about 1 month ago
JSON representation

A gradle multi projects with jmh

Awesome Lists containing this project

README

          

# Gradle Example (Multi Project & JMH) #

A very simple gradle example which has multi project and jmh project.

## How to run JMH ##

```
./gradlew jmh:clean jmh:build jmh:jmh
```

This task use [jmh-gradle-plugin](https://github.com/blackboard/jmh-gradle-plugin)

The JMH API see [openjdk jmh](http://openjdk.java.net/projects/code-tools/jmh/)

If you use maven, you can create by archetype

```
mvn archetype:generate \
-DinteractiveMode=false \
-DarchetypeGroupId=org.openjdk.jmh \
-DarchetypeArtifactId=jmh-java-benchmark-archetype \
-DgroupId=com.yao \
-DartifactId=jmh-demo \
-Dversion=1.0
```