fixing compileOnly so it works with Gradle 2
allowing JSPs to set response headers/status codes