Gradle 2 model provides info about build directory. Better non existing project directory handling.