-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathbuildpack.toml
99 lines (82 loc) · 3.28 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
# 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 SBT-based applications from source"
homepage = "https://github.com/paketo-buildpacks/sbt"
id = "paketo-buildpacks/sbt"
keywords = ["java", "sbt", "scala", "build-system"]
name = "Paketo Buildpack for SBT"
sbom-formats = ["application/vnd.cyclonedx+json", "application/vnd.syft+json"]
version = "{{.version}}"
[[buildpack.licenses]]
type = "Apache-2.0"
uri = "https://github.com/paketo-buildpacks/sbt/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 = "universal:packageBin"
description = "the arguments to pass to Maven"
name = "BP_SBT_BUILD_ARGUMENTS"
[[metadata.configurations]]
build = true
default = "target/universal/*.zip"
description = "the built application artifact explicitly. Supersedes $BP_SBT_BUILT_MODULE"
name = "BP_SBT_BUILT_ARTIFACT"
[[metadata.configurations]]
build = true
description = "the module to find application artifact in"
name = "BP_SBT_BUILT_MODULE"
[[metadata.configurations]]
build = true
description = "the path to the SBT repositories file"
name = "BP_SBT_REPOSITORIES_FILE"
[[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:lightbend:sbt:1.10.7:*:*:*:*:*:*:*"]
id = "sbt"
name = "Scala SBT"
purl = "pkg:generic/[email protected]"
sha256 = "32c15233c636c233ee25a2c31879049db7021cfef70807c187515c39b96b0fe6"
source = "https://github.com/sbt/sbt/archive/refs/tags/v1.10.7.tar.gz"
source-sha256 = "50105c83b86f44767e83246c5962a245d388f6dd846156fa1425223b5a91c7cf"
stacks = ["io.buildpacks.stacks.bionic", "io.paketo.stacks.tiny", "*"]
uri = "https://github.com/sbt/sbt/releases/download/v1.10.7/sbt-1.10.7.tgz"
version = "1.10.7"
[[metadata.dependencies.licenses]]
type = "Apache-2.0"
uri = "https://github.com/sbt/sbt/blob/develop/LICENSE"
[[stacks]]
id = "io.buildpacks.stacks.bionic"
[[stacks]]
id = "io.paketo.stacks.tiny"
[[stacks]]
id = "*"
[[targets]]
arch = "amd64"
os = "linux"
[[targets]]
arch = "arm64"
os = "linux"