Skip to content

Instantly share code, notes, and snippets.

@ericzumba
Last active August 8, 2016 19:59
Show Gist options
  • Save ericzumba/6bdd94325e4afc14fb07de55678a829f to your computer and use it in GitHub Desktop.
Save ericzumba/6bdd94325e4afc14fb07de55678a829f to your computer and use it in GitHub Desktop.
simple gradle
PROJECT_DIR=$(shell pwd)
ARTIFACT_REVISION=1.0
ARTIFACT_NAME=example
ARTIFACT=$(PROJECT_DIR)/build/libs/$(ARTIFACT_NAME)-$(ARTIFACT_REVISION).jar
$(ARTIFACT):
gradle clean build
build: $(ARTIFACT)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment