Added gradle build script
 Shadowed jar file doesn't seem to work (neither does the maven shaded jar)
 Had to set disableThreadChecks() in the test as Gradle somehow adds a thread 'Test worker' to the threadNames Map