1
- # Paketo Buildpack for Clojure Tools
1
+ # ` gcr.io/paketo-buildpacks/clojure-tools `
2
2
3
3
The Paketo Clojure Tools Buildpack is a Cloud Native Buildpack that builds Clojure-based applications from source.
4
4
5
5
## Behavior
6
+
6
7
This buildpack will participate all the following conditions are met
7
8
8
9
* ` <APPLICATION_ROOT>/deps.edn ` exists
@@ -18,11 +19,27 @@ The buildpack will do the following:
18
19
* Expands ` <APPLICATION_ROOT>/target/*.jar ` to ` <APPLICATION_ROOT> `
19
20
20
21
## Configuration
21
- | Environment Variable | Description
22
- | -------------------- | -----------
23
- | ` $BP_CLJ_TOOLS_BUILD_ENABLED ` | Configure the arguments to enable tools build.
24
- | ` $BP_CLJ_TOOLS_BUILD_ARGUMENTS ` | Configure the arguments to pass to build system. Defaults to ` -T:build uber ` .
25
- | ` $BP_CLJ_DEPS_ARGUMENTS ` | Configure the arguments to pass to build system. Defaults to ` -X:uberjar ` .
26
- | ` $BP_CLJ_BUILT_MODULE ` | Configure the module to find application artifact in. Defaults to the root module (empty).
27
- | ` $BP_CLJ_BUILT_ARTIFACT ` | Configure the built application artifact explicitly. Supersedes ` $BP_CLJ_BUILT_MODULE ` Defaults to ` target/*.jar ` .
28
22
23
+ | Environment Variable | Description |
24
+ | ------------------------------- | -------------------------------------------------------------------------------------------------------------------- |
25
+ | ` $BP_CLJ_TOOLS_BUILD_ENABLED ` | Configure the arguments to enable tools build. |
26
+ | ` $BP_CLJ_TOOLS_BUILD_ARGUMENTS ` | Configure the arguments to pass to build system. Defaults to ` -T:build uber ` . |
27
+ | ` $BP_CLJ_DEPS_ARGUMENTS ` | Configure the arguments to pass to build system. Defaults to ` -X:uberjar ` . |
28
+ | ` $BP_CLJ_BUILT_MODULE ` | Configure the module to find application artifact in. Defaults to the root module (empty). |
29
+ | ` $BP_CLJ_BUILT_ARTIFACT ` | Configure the built application artifact explicitly. Supersedes ` $BP_CLJ_BUILT_MODULE ` Defaults to ` target/*.jar ` . |
30
+
31
+ ## Bindings
32
+
33
+ The buildpack optionally accepts the following bindings:
34
+
35
+ ### Type: ` dependency-mapping `
36
+
37
+ | Key | Value | Description |
38
+ | --------------------- | ------- | ------------------------------------------------------------------------------------------------- |
39
+ | ` <dependency-digest> ` | ` <uri> ` | If needed, the buildpack will fetch the dependency with digest ` <dependency-digest> ` from ` <uri> ` |
40
+
41
+ ## License
42
+
43
+ This buildpack is released under version 2.0 of the [ Apache License] [ a ] .
44
+
45
+ [ a ] : http://www.apache.org/licenses/LICENSE-2.0
0 commit comments