From 2d82d0a89becbd0fd5dc39cc452dd3c5d8846a71 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Thu, 27 Jun 2024 12:30:42 +0200 Subject: [PATCH] feat(actions): update gradle/gradle-build-action@v3 (#1519) Created automatically. Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> --- .../gradle-build-action/v3/commit-hash.txt | 2 +- .../actions/gradle/GradleBuildActionV3.kt | 113 +++++++++++++++++- 2 files changed, 113 insertions(+), 2 deletions(-) diff --git a/actions/gradle/gradle-build-action/v3/commit-hash.txt b/actions/gradle/gradle-build-action/v3/commit-hash.txt index 97de2b3ac..a3433f49d 100644 --- a/actions/gradle/gradle-build-action/v3/commit-hash.txt +++ b/actions/gradle/gradle-build-action/v3/commit-hash.txt @@ -1 +1 @@ -8baac4c8ef753599f92eeb509c246d09d6250fa6 \ No newline at end of file +66535aaf56f831b35e3a8481c9c99b665b84dd45 \ No newline at end of file diff --git a/github-workflows-kt/src/gen/kotlin/io/github/typesafegithub/workflows/actions/gradle/GradleBuildActionV3.kt b/github-workflows-kt/src/gen/kotlin/io/github/typesafegithub/workflows/actions/gradle/GradleBuildActionV3.kt index a9d1562d4..04a078bfc 100644 --- a/github-workflows-kt/src/gen/kotlin/io/github/typesafegithub/workflows/actions/gradle/GradleBuildActionV3.kt +++ b/github-workflows-kt/src/gen/kotlin/io/github/typesafegithub/workflows/actions/gradle/GradleBuildActionV3.kt @@ -72,6 +72,28 @@ import kotlin.collections.toTypedArray * 'https://gradle.com/terms-of-service' or 'https://gradle.com/help/legal-terms-of-use'. * @param buildScanTermsOfUseAgree Indicate that you agree to the Build ScanĀ® terms of use. This * input value must be "yes". + * @param develocityAccessKey Develocity access key. Should be set to a secret containing the + * Develocity Access key. + * @param develocityTokenExpiry The Develocity short-lived access tokens expiry in hours. Default is + * 2 hours. + * @param develocityInjectionEnabled Enables Develocity injection. + * @param develocityUrl The URL for the Develocity server. + * @param develocityAllowUntrustedServer Allow communication with an untrusted server; set to _true_ + * if your Develocity instance is using a self-signed. + * @param develocityCaptureFileFingerprints Enables capturing the paths and content hashes of each + * individual input file. + * @param develocityEnforceUrl Enforce the configured Develocity URL over a URL configured in the + * project's build; set to _true_ to enforce publication of build scans to the configured Develocity + * URL. + * @param develocityPluginVersion The version of the Develocity Gradle plugin to apply. + * @param develocityCcudPluginVersion The version of the Common Custom User Data Gradle plugin to + * apply, if any. + * @param gradlePluginRepositoryUrl The URL of the repository to use when resolving the Develocity + * and CCUD plugins; the Gradle Plugin Portal is used by default. + * @param gradlePluginRepositoryUsername The username for the repository URL to use when resolving + * the Develocity and CCUD. + * @param gradlePluginRepositoryPassword The password for the repository URL to use when resolving + * the Develocity and CCUD plugins; Consider using secrets to pass the value to this variable. * @param validateWrappers When 'true', the action will perform the 'wrapper-validation' action * automatically. * If the wrapper checksums are not valid, the action will fail. @@ -184,6 +206,58 @@ public data class GradleBuildActionV3 private constructor( * Indicate that you agree to the Build ScanĀ® terms of use. This input value must be "yes". */ public val buildScanTermsOfUseAgree: String? = null, + /** + * Develocity access key. Should be set to a secret containing the Develocity Access key. + */ + public val develocityAccessKey: String? = null, + /** + * The Develocity short-lived access tokens expiry in hours. Default is 2 hours. + */ + public val develocityTokenExpiry: Int? = null, + /** + * Enables Develocity injection. + */ + public val develocityInjectionEnabled: Boolean? = null, + /** + * The URL for the Develocity server. + */ + public val develocityUrl: String? = null, + /** + * Allow communication with an untrusted server; set to _true_ if your Develocity instance is + * using a self-signed. + */ + public val develocityAllowUntrustedServer: Boolean? = null, + /** + * Enables capturing the paths and content hashes of each individual input file. + */ + public val develocityCaptureFileFingerprints: Boolean? = null, + /** + * Enforce the configured Develocity URL over a URL configured in the project's build; set to + * _true_ to enforce publication of build scans to the configured Develocity URL. + */ + public val develocityEnforceUrl: Boolean? = null, + /** + * The version of the Develocity Gradle plugin to apply. + */ + public val develocityPluginVersion: String? = null, + /** + * The version of the Common Custom User Data Gradle plugin to apply, if any. + */ + public val develocityCcudPluginVersion: String? = null, + /** + * The URL of the repository to use when resolving the Develocity and CCUD plugins; the Gradle + * Plugin Portal is used by default. + */ + public val gradlePluginRepositoryUrl: String? = null, + /** + * The username for the repository URL to use when resolving the Develocity and CCUD. + */ + public val gradlePluginRepositoryUsername: String? = null, + /** + * The password for the repository URL to use when resolving the Develocity and CCUD plugins; + * Consider using secrets to pass the value to this variable. + */ + public val gradlePluginRepositoryPassword: String? = null, /** * When 'true', the action will perform the 'wrapper-validation' action automatically. * If the wrapper checksums are not valid, the action will fail. @@ -254,6 +328,18 @@ public data class GradleBuildActionV3 private constructor( buildScanPublish: Boolean? = null, buildScanTermsOfUseUrl: String? = null, buildScanTermsOfUseAgree: String? = null, + develocityAccessKey: String? = null, + develocityTokenExpiry: Int? = null, + develocityInjectionEnabled: Boolean? = null, + develocityUrl: String? = null, + develocityAllowUntrustedServer: Boolean? = null, + develocityCaptureFileFingerprints: Boolean? = null, + develocityEnforceUrl: Boolean? = null, + develocityPluginVersion: String? = null, + develocityCcudPluginVersion: String? = null, + gradlePluginRepositoryUrl: String? = null, + gradlePluginRepositoryUsername: String? = null, + gradlePluginRepositoryPassword: String? = null, validateWrappers: Boolean? = null, buildScanTermsOfServiceUrl: String? = null, buildScanTermsOfServiceAgree: String? = null, @@ -274,7 +360,18 @@ public data class GradleBuildActionV3 private constructor( dependencyGraphContinueOnFailure=dependencyGraphContinueOnFailure, artifactRetentionDays=artifactRetentionDays, buildScanPublish=buildScanPublish, buildScanTermsOfUseUrl=buildScanTermsOfUseUrl, - buildScanTermsOfUseAgree=buildScanTermsOfUseAgree, validateWrappers=validateWrappers, + buildScanTermsOfUseAgree=buildScanTermsOfUseAgree, + develocityAccessKey=develocityAccessKey, develocityTokenExpiry=develocityTokenExpiry, + develocityInjectionEnabled=develocityInjectionEnabled, develocityUrl=develocityUrl, + develocityAllowUntrustedServer=develocityAllowUntrustedServer, + develocityCaptureFileFingerprints=develocityCaptureFileFingerprints, + develocityEnforceUrl=develocityEnforceUrl, + develocityPluginVersion=develocityPluginVersion, + develocityCcudPluginVersion=develocityCcudPluginVersion, + gradlePluginRepositoryUrl=gradlePluginRepositoryUrl, + gradlePluginRepositoryUsername=gradlePluginRepositoryUsername, + gradlePluginRepositoryPassword=gradlePluginRepositoryPassword, + validateWrappers=validateWrappers, buildScanTermsOfServiceUrl=buildScanTermsOfServiceUrl, buildScanTermsOfServiceAgree=buildScanTermsOfServiceAgree, generateJobSummary=generateJobSummary, arguments=arguments, @@ -304,6 +401,20 @@ public data class GradleBuildActionV3 private constructor( buildScanPublish?.let { "build-scan-publish" to it.toString() }, buildScanTermsOfUseUrl?.let { "build-scan-terms-of-use-url" to it }, buildScanTermsOfUseAgree?.let { "build-scan-terms-of-use-agree" to it }, + develocityAccessKey?.let { "develocity-access-key" to it }, + develocityTokenExpiry?.let { "develocity-token-expiry" to it.toString() }, + develocityInjectionEnabled?.let { "develocity-injection-enabled" to it.toString() }, + develocityUrl?.let { "develocity-url" to it }, + develocityAllowUntrustedServer?.let { "develocity-allow-untrusted-server" to + it.toString() }, + develocityCaptureFileFingerprints?.let { "develocity-capture-file-fingerprints" to + it.toString() }, + develocityEnforceUrl?.let { "develocity-enforce-url" to it.toString() }, + develocityPluginVersion?.let { "develocity-plugin-version" to it }, + develocityCcudPluginVersion?.let { "develocity-ccud-plugin-version" to it }, + gradlePluginRepositoryUrl?.let { "gradle-plugin-repository-url" to it }, + gradlePluginRepositoryUsername?.let { "gradle-plugin-repository-username" to it }, + gradlePluginRepositoryPassword?.let { "gradle-plugin-repository-password" to it }, validateWrappers?.let { "validate-wrappers" to it.toString() }, buildScanTermsOfServiceUrl?.let { "build-scan-terms-of-service-url" to it }, buildScanTermsOfServiceAgree?.let { "build-scan-terms-of-service-agree" to it },