-
Notifications
You must be signed in to change notification settings - Fork 17
/
buildpack.toml
123 lines (102 loc) · 4.17 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
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
# 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 Gradle-based applications from source"
homepage = "https://github.com/paketo-buildpacks/gradle"
id = "paketo-buildpacks/gradle"
keywords = ["java", "gradle", "build-systems"]
name = "Paketo Buildpack for Gradle"
sbom-formats = ["application/vnd.cyclonedx+json", "application/vnd.syft+json"]
version = "{{.version}}"
[[buildpack.licenses]]
type = "Apache-2.0"
uri = "https://github.com/paketo-buildpacks/gradle/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 = "--no-daemon -Dorg.gradle.welcome=never assemble"
description = "the arguments to pass to Gradle"
name = "BP_GRADLE_BUILD_ARGUMENTS"
[[metadata.configurations]]
build = true
default = ""
description = "the additionnal arguments (appended to BP_GRADLE_BUILD_ARGUMENTS) to pass to Gradle"
name = "BP_GRADLE_ADDITIONAL_BUILD_ARGUMENTS"
[[metadata.configurations]]
build = true
description = "the location of the main build config file, relative to the application root"
detect = true
name = "BP_GRADLE_BUILD_FILE"
[[metadata.configurations]]
build = true
default = "build/libs/*.[jw]ar"
description = "the built application artifact explicitly. Supersedes $BP_GRADLE_BUILT_MODULE"
name = "BP_GRADLE_BUILT_ARTIFACT"
[[metadata.configurations]]
build = true
description = "the module to find application artifact in"
name = "BP_GRADLE_BUILT_MODULE"
[[metadata.configurations]]
build = true
description = "the path to a Gradle init script file"
name = "BP_GRADLE_INIT_SCRIPT_PATH"
[[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.configurations]]
build = true
default = "false"
description = "whether to install Yarn/Node binaries based on the presence of a package.json or yarn.lock file"
name = "BP_JAVA_INSTALL_NODE"
[[metadata.configurations]]
build = true
default = ""
description = "configure a project subdirectory to look for `package.json` and `yarn.lock` files"
name = "BP_NODE_PROJECT_PATH"
[[metadata.dependencies]]
cpes = ["cpe:2.3:a:gradle:gradle:8.11.1:*:*:*:*:*:*:*"]
id = "gradle"
name = "Gradle"
purl = "pkg:generic/gradle@8.11.1"
sha256 = "f397b287023acdba1e9f6fc5ea72d22dd63669d59ed4a289a29b1a76eee151c6"
source = "https://downloads.gradle.org/distributions/gradle-8.11.1-src.zip"
source-sha256 = "7006356eca107cc1f0f055a8cfd0d4ffa6c8ad4a3e7d904bc8ad65fd8f1d9d3d"
stacks = ["io.buildpacks.stacks.bionic", "io.paketo.stacks.tiny", "*"]
uri = "https://downloads.gradle.org/distributions/gradle-8.11.1-bin.zip"
version = "8.11.1"
[[metadata.dependencies.licenses]]
type = "Apache-2.0"
uri = "https://docs.gradle.org/current/userguide/userguide.html#licenses"
[[stacks]]
id = "io.buildpacks.stacks.bionic"
[[stacks]]
id = "io.paketo.stacks.tiny"
[[stacks]]
id = "*"
[[targets]]
arch = "amd64"
os = "linux"
[[targets]]
arch = "arm64"
os = "linux"