Skip to content
This repository was archived by the owner on Jul 18, 2025. It is now read-only.

Commit 029f9fa

Browse files
authored
Merge pull request #110 from mnottale/gradle-readme
gradle: Add readme.
2 parents 65ff7e9 + e715e51 commit 029f9fa

File tree

1 file changed

+32
-0
lines changed

1 file changed

+32
-0
lines changed

gradle/README.md

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
# DockerApp gradle plugin
2+
3+
This directory contains a gradle plugin that exposes tasks that perform various docker-app related operations.
4+
5+
# Building the plugin
6+
7+
Running `gradle build` in the plugin directory will create the plugin jar file in the `build/lib` directory.
8+
9+
# Using the plugin
10+
11+
Put the following code into your build.gradle file:
12+
13+
buildscript{
14+
dependencies{
15+
classpath files('path/to/dockerapp-plugin-1.0-SNAPSHOT.jar')
16+
}
17+
}
18+
19+
apply plugin: com.docker.gradle.dockerapp.DockerAppPlugin
20+
21+
import com.docker.gradle.dockerapp.*
22+
23+
You can then use the tasks exposed by this plugin:
24+
25+
## Render
26+
27+
This task performs a `docker-app render`.
28+
29+
task renderMyApp(type: DockerAppRender) {
30+
appPath = 'path/to/dockerapp'
31+
target = 'rendered-output.yml'
32+
}

0 commit comments

Comments
 (0)