Switch to gradle:jdk8 image for the gitlab builds
running the gradlew script during build always downloads the gradle binaries which might be considered a waste. Gradle provides several images to use when building where gradle is already included and does not have to be downloaded.