Skip to content

Commit

Permalink
docs: Add gradle wrapper expectations (#2866)
Browse files Browse the repository at this point in the history
Signed-off-by: Appu <[email protected]>
Co-authored-by: Ian Lewis <[email protected]>
  • Loading branch information
loosebazooka and Ian Lewis authored Oct 17, 2023
1 parent 707271a commit 43db678
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions internal/builders/gradle/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,8 @@ to send us feedback!

The Gradle builder currently has the following limitations:

1. The project must be build'able by way of `gradle build`. If you need the option for flags, profiles or something else to define more granular builds, please open an issue.
1. The project must be buildable by way of `./gradlew build`. If you need the option for flags, profiles or something else to define more granular builds, please open an issue.
2. The project must include a gradle wrapper (`gradlew`). The Gradle builder does not include an installation of gradle.

## Generating Provenance

Expand All @@ -62,7 +63,7 @@ package and generate the provenance.

Let's say you have the following build set up:

1. You can build your artifacts by way of `gradle build`.
1. You can build your artifacts by way of `./gradlew build`.
2. You release artifacts via Github Actions.

To add provenance to releases is easy. Simply use the following workflow in `.github/workflows` in your repository:
Expand Down

0 comments on commit 43db678

Please sign in to comment.