Makefile Recipes for Real Projects/Delegate to gradle or maven

Wrap build tool commands in stable team-facing targets.

Section: Language and framework examples

Delegate to gradle or maven

makefile
makefile
build:
	./gradlew build

test:
	./gradlew test
Explanation

Make can serve as a repo-level command facade across multiple languages.

Learn the surrounding workflow

Compare similar commands or jump into common fixes when this command is part of a bigger troubleshooting path.

Related commands

Same sheet · prioritizing Language and framework examples
Node.js targets
Lint, test, and build JavaScript or TypeScript projects.
OpenIn sheetmakefilesame section
Python targets
Format, lint, and test a Python project.
OpenIn sheetmakefilesame section
Go targets
Format, test, and build Go projects.
OpenIn sheetmakefilesame section
Help target
List available targets and descriptions.
OpenIn sheetmakefile
Docker build target
Build a container image with a version tag.
OpenIn sheetmakefile
Generate version file
Write current version metadata into an artifact.
OpenIn sheetmakefile