Skip to content

Instantly share code, notes, and snippets.

View AndreasMattsson's full-sized avatar

Andreas Mattsson AndreasMattsson

View GitHub Profile
@AndreasMattsson
AndreasMattsson / gradlez
Last active October 28, 2019 14:14
replacement for ./gradlew that automatically downloads and installs Zulu OpenJDK and/or gradle wrapper if missing before forwarding gradle commands
#!/usr/bin/env sh
set -e
##############################################################################
##
## Delegates to gradle wrapper, but downloads Zulu JDK first if JDK not found
##
##############################################################################