diff --git a/gradle/README-short.txt b/gradle/README-short.txt new file mode 100644 index 000000000..906defe3a --- /dev/null +++ b/gradle/README-short.txt @@ -0,0 +1 @@ +Gradle is a build tool with a focus on build automation and support for multi-language development. diff --git a/gradle/content.md b/gradle/content.md new file mode 100644 index 000000000..14c569e7d --- /dev/null +++ b/gradle/content.md @@ -0,0 +1,22 @@ +# What is Gradle? + +[Gradle](https://gradle.org/) is a build tool with a focus on build automation and support for multi-language development. If you are building, testing, publishing, and deploying software on any platform, Gradle offers a flexible model that can support the entire development lifecycle from compiling and packaging code to publishing web sites. Gradle has been designed to support build automation across multiple languages and platforms including Java, Scala, Android, C/C++, and Groovy, and is closely integrated with development tools and continuous integration servers including Eclipse, IntelliJ, and Jenkins. + +%%LOGO%% + +# How to use this image + +## Building a Gradle project + +Run this from the directory of the Gradle project you want to build. + +`docker run --rm -v "$PWD":/project -w /project --name gradle gradle:alpine gradle ` + +## Reusing the Gradle cache + +The local Gradle cache can be reused across containers by creating a volume and mounting it in */gradle/.gradle*. + +```console +docker volume create --name gradle-cache +docker run -it -v gradle-cache:/gradle/.gradle gradle:latest gradle build +``` diff --git a/gradle/github-repo b/gradle/github-repo new file mode 100644 index 000000000..784f386f7 --- /dev/null +++ b/gradle/github-repo @@ -0,0 +1 @@ +https://github.com/keeganwitt/docker-gradle diff --git a/gradle/license.md b/gradle/license.md new file mode 100644 index 000000000..c0388a1db --- /dev/null +++ b/gradle/license.md @@ -0,0 +1 @@ +View [license information](https://gradle.org/license/) for the software contained in this image. diff --git a/gradle/logo.png b/gradle/logo.png new file mode 100644 index 000000000..447fda8cf Binary files /dev/null and b/gradle/logo.png differ