-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathbuildpack.toml
94 lines (78 loc) · 3.2 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
# Copyright 2018-2020 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 Leiningen-based applications from source"
homepage = "https://github.com/paketo-buildpacks/leiningen"
id = "paketo-buildpacks/leiningen"
keywords = ["java", "leiningen", "build-system"]
name = "Paketo Buildpack for Leiningen"
sbom-formats = ["application/vnd.cyclonedx+json", "application/vnd.syft+json"]
version = "{{.version}}"
[[buildpack.licenses]]
type = "Apache-2.0"
uri = "https://github.com/paketo-buildpacks/leiningen/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 = "uberjar"
description = "the arguments to pass to Lein"
name = "BP_LEIN_BUILD_ARGUMENTS"
[[metadata.configurations]]
build = true
default = "target/*-standalone.jar"
description = "the built application artifact explicitly. Supersedes $BP_LEIN_BUILT_MODULE"
name = "BP_LEIN_BUILT_ARTIFACT"
[[metadata.configurations]]
build = true
description = "the module to find application artifact in"
name = "BP_LEIN_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:leiningen:leiningen:2.11.2:*:*:*:*:*:*:*"]
id = "lein"
name = "Leiningen"
purl = "pkg:generic/[email protected]"
sha256 = "f83e3de252cb09d301f18f1912acffa807b54c1c9a96772ae63847a946032bd4"
source = "https://github.com/technomancy/leiningen/archive/refs/tags/2.11.2.tar.gz"
source-sha256 = "fe9ee17786be6c3cf4615688a2a82c173369657d84c1b2ffc00b7cd5fd7df1bc"
stacks = ["io.buildpacks.stacks.bionic", "io.paketo.stacks.tiny", "*"]
uri = "https://raw.githubusercontent.com/technomancy/leiningen/2.11.2/bin/lein"
version = "2.11.2"
[[metadata.dependencies.licenses]]
type = "EPL-1.0"
uri = "https://github.com/technomancy/leiningen/blob/stable/COPYING"
[[stacks]]
id = "io.buildpacks.stacks.bionic"
[[stacks]]
id = "io.paketo.stacks.tiny"
[[stacks]]
id = "*"
[[targets]]
arch = "amd64"
os = "linux"
[[targets]]
arch = "arm64"
os = "linux"