[#116] Detection of using Java 8+ API

With https://bitbucket.org/lievendoclo/animalsniffer-gradle-plugin/

Fixes #116

There is a issue with that plugin (a task is created in afterEvaluate closure) which makes it harder to override configuration from command line. I will work on the upstream later to resolve that and simplify our configuration.