-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathbuildpack.toml
106 lines (88 loc) · 3.55 KB
/
buildpack.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
# Copyright 2018-2021 the original author or authors.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# https://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
api = "0.7"
[buildpack]
description = "A Cloud Native Buildpack that builds Clojure applications from source"
homepage = "https://github.com/paketo-buildpacks/clojure-tools"
id = "paketo-buildpacks/clojure-tools"
keywords = ["java", "clojure", "build-system"]
name = "Paketo Buildpack for Clojure Tools"
sbom-formats = ["application/vnd.syft+json", "application/vnd.cyclonedx+json"]
version = "{{.version}}"
[[buildpack.licenses]]
type = "Apache-2.0"
uri = "https://github.com/paketo-buildpacks/clojure-tools/blob/main/LICENSE"
[metadata]
include-files = ["LICENSE", "NOTICE", "README.md", "linux/amd64/bin/build", "linux/amd64/bin/detect", "linux/amd64/bin/main", "linux/arm64/bin/build", "linux/arm64/bin/detect", "linux/arm64/bin/main", "buildpack.toml"]
pre-package = "scripts/build.sh"
[[metadata.configurations]]
build = true
default = "-X:uberjar"
description = "the arguments to pass to Clojure"
name = "BP_CLJ_DEPS_ARGUMENTS"
[[metadata.configurations]]
build = true
default = "false"
description = "the arguments to enable Tools Build"
name = "BP_CLJ_TOOLS_BUILD_ENABLED"
[[metadata.configurations]]
build = true
default = "-T:build uber"
description = "the arguments to pass to Tools Build"
name = "BP_CLJ_TOOLS_BUILD_ARGUMENTS"
[[metadata.configurations]]
build = true
default = "target/*.jar"
description = "the built application artifact explicitly. Supersedes $BP_CLJ_BUILT_MODULE"
name = "BP_CLJ_BUILT_ARTIFACT"
[[metadata.configurations]]
build = true
description = "the module to find application artifact in"
name = "BP_CLJ_BUILT_MODULE"
[[metadata.configurations]]
build = true
default = ""
description = "colon separated list of glob patterns, matched source files are included"
name = "BP_INCLUDE_FILES"
[[metadata.configurations]]
build = true
default = ""
description = "colon separated list of glob patterns, matched source files are removed"
name = "BP_EXCLUDE_FILES"
[[metadata.dependencies]]
cpes = ["cpe:2.3:a:cognitect:clojure:1.12.0:*:*:*:*:*:*:*"]
id = "clojure"
name = "Clojure"
purl = "pkg:generic/[email protected]?arch=amd64"
sha256 = "65257085958376a3c89755a6108d67163882c75af709fe8c8918222ca5730aef"
source = "https://github.com/clojure/clojure/archive/refs/tags/clojure-1.12.0.tar.gz"
source-sha256 = "737b2f92dd2d5f1572efb6dc5f45bb52c858f1843c4397c472b4589a75b10992"
stacks = ["io.buildpacks.stacks.bionic", "io.paketo.stacks.tiny", "*"]
uri = "https://download.clojure.org/install/linux-install-1.12.0.1501.sh"
version = "1.12.0"
[[metadata.dependencies.licenses]]
type = "Eclipse Public License - v 1.0"
uri = "https://github.com/clojure/clojure/blob/master/epl-v10.html"
[[stacks]]
id = "io.buildpacks.stacks.bionic"
[[stacks]]
id = "io.paketo.stacks.tiny"
[[stacks]]
id = "*"
[[targets]]
arch = "amd64"
os = "linux"
[[targets]]
arch = "arm64"
os = "linux"