Merge pull request #806 from keeganwitt/gradle

added Gradle
This commit is contained in:
Tianon Gravi 2017-03-23 11:30:20 -07:00 committed by GitHub
commit 7dad16a9eb
5 changed files with 25 additions and 0 deletions

1
gradle/README-short.txt Normal file
View File

@ -0,0 +1 @@
Gradle is a build tool with a focus on build automation and support for multi-language development.

22
gradle/content.md Normal file
View File

@ -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 <gradle-task>`
## 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
```

1
gradle/github-repo Normal file
View File

@ -0,0 +1 @@
https://github.com/keeganwitt/docker-gradle

1
gradle/license.md Normal file
View File

@ -0,0 +1 @@
View [license information](https://gradle.org/license/) for the software contained in this image.

BIN
gradle/logo.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 12 KiB