add JAVA_OPTS env variable for running gradle