From 66228474bcd87764104664f299e0e2a10df7ec01 Mon Sep 17 00:00:00 2001 From: Ramon Petgrave Date: Fri, 9 Feb 2024 23:06:59 +0000 Subject: [PATCH] lint Signed-off-by: Ramon Petgrave --- internal/builders/gradle/README.md | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/internal/builders/gradle/README.md b/internal/builders/gradle/README.md index a401cfe499..5d2d8dd34b 100644 --- a/internal/builders/gradle/README.md +++ b/internal/builders/gradle/README.md @@ -19,6 +19,7 @@ workflow the "Gradle builder" from now on. - [Limitations](#limitations) - [Generating Provenance](#generating-provenance) - [Getting Started](#getting-started) + - [Multi-Project Builds](#multi-project-builds) - [Private Repositories](#private-repositories) - [Verification](#verification) @@ -98,7 +99,8 @@ The Gradle builder requires you to specify the artifacts that you wish to attest If you are using [multi-project builds](https://docs.gradle.org/current/userguide/intro_multi_project_builds.html), where each of your sub-projects' `src` are in separate subfolders, then you will need to add a task to copy over the artifact files to the root `./build` folder. See this example to add to your sub-projects' `build.gradle.kts` file. -``` + +```kotlin tasks.register("copySubProjectBuild") { from(layout.buildDirectory) into("${rootProject.projectDir}/build/${project.name}") @@ -111,7 +113,7 @@ tasks.named("build") { This, for example, It will move `./app1/build/` and `./app2/build/` to `./build/app1/` and `./build/app2/`. You must then alter your input to `artifact-list`. -``` +```yaml ... artifact-list: >- ./build/app1/libs/app.jar,