@@ -65,11 +65,15 @@ import kotlin.collections.toTypedArray
6565 * @param buildScanPublish Set to 'true' to automatically publish build results as a Build Scan on
6666 * scans.gradle.com.
6767 * For publication to succeed without user input, you must also provide values for
68- * `build-scan-terms-of-service-url` and 'build-scan-terms-of-service-agree'.
69- * @param buildScanTermsOfServiceUrl The URL to the Build Scan® terms of service. This input must be
70- * set to 'https://gradle.com/terms-of-service'.
71- * @param buildScanTermsOfServiceAgree Indicate that you agree to the Build Scan® terms of service.
72- * This input value must be "yes".
68+ * `build-scan-terms-of-use-url` and 'build-scan-terms-of-use-agree'.
69+ * @param buildScanTermsOfUseUrl The URL to the Build Scan® terms of use. This input must be set to
70+ * 'https://gradle.com/terms-of-service' or 'https://gradle.com/help/legal-terms-of-use'.
71+ * @param buildScanTermsOfUseAgree Indicate that you agree to the Build Scan® terms of use. This
72+ * input value must be "yes".
73+ * @param buildScanTermsOfServiceUrl The URL to the Build Scan® terms of use. This input must be set
74+ * to 'https://gradle.com/terms-of-service'.
75+ * @param buildScanTermsOfServiceAgree Indicate that you agree to the Build Scan® terms of use. This
76+ * input value must be "yes".
7377 * @param arguments Gradle command line arguments (supports multi-line input)
7478 * @param buildRootDirectory Path to the root directory of the build. Default is the root of the
7579 * GitHub workspace.
@@ -161,16 +165,25 @@ public data class GradleBuildActionV3 private constructor(
161165 /* *
162166 * Set to 'true' to automatically publish build results as a Build Scan on scans.gradle.com.
163167 * For publication to succeed without user input, you must also provide values for
164- * `build-scan-terms-of-service -url` and 'build-scan-terms-of-service -agree'.
168+ * `build-scan-terms-of-use -url` and 'build-scan-terms-of-use -agree'.
165169 */
166170 public val buildScanPublish : Boolean? = null ,
167171 /* *
168- * The URL to the Build Scan® terms of service. This input must be set to
172+ * The URL to the Build Scan® terms of use. This input must be set to
173+ * 'https://gradle.com/terms-of-service' or 'https://gradle.com/help/legal-terms-of-use'.
174+ */
175+ public val buildScanTermsOfUseUrl : String? = null ,
176+ /* *
177+ * Indicate that you agree to the Build Scan® terms of use. This input value must be "yes".
178+ */
179+ public val buildScanTermsOfUseAgree : String? = null ,
180+ /* *
181+ * The URL to the Build Scan® terms of use. This input must be set to
169182 * 'https://gradle.com/terms-of-service'.
170183 */
171184 public val buildScanTermsOfServiceUrl : String? = null ,
172185 /* *
173- * Indicate that you agree to the Build Scan® terms of service . This input value must be "yes".
186+ * Indicate that you agree to the Build Scan® terms of use . This input value must be "yes".
174187 */
175188 public val buildScanTermsOfServiceAgree : String? = null ,
176189 /* *
@@ -227,6 +240,8 @@ public data class GradleBuildActionV3 private constructor(
227240 dependencyGraphContinueOnFailure: Boolean? = null ,
228241 artifactRetentionDays: Int? = null ,
229242 buildScanPublish: Boolean? = null ,
243+ buildScanTermsOfUseUrl: String? = null ,
244+ buildScanTermsOfUseAgree: String? = null ,
230245 buildScanTermsOfServiceUrl: String? = null ,
231246 buildScanTermsOfServiceAgree: String? = null ,
232247 arguments: String? = null ,
@@ -245,6 +260,8 @@ public data class GradleBuildActionV3 private constructor(
245260 addJobSummaryAsPrComment= addJobSummaryAsPrComment, dependencyGraph= dependencyGraph,
246261 dependencyGraphContinueOnFailure= dependencyGraphContinueOnFailure,
247262 artifactRetentionDays= artifactRetentionDays, buildScanPublish= buildScanPublish,
263+ buildScanTermsOfUseUrl= buildScanTermsOfUseUrl,
264+ buildScanTermsOfUseAgree= buildScanTermsOfUseAgree,
248265 buildScanTermsOfServiceUrl= buildScanTermsOfServiceUrl,
249266 buildScanTermsOfServiceAgree= buildScanTermsOfServiceAgree, arguments= arguments,
250267 buildRootDirectory= buildRootDirectory, generateJobSummary= generateJobSummary,
@@ -271,6 +288,8 @@ public data class GradleBuildActionV3 private constructor(
271288 it.toString() },
272289 artifactRetentionDays?.let { " artifact-retention-days" to it.toString() },
273290 buildScanPublish?.let { " build-scan-publish" to it.toString() },
291+ buildScanTermsOfUseUrl?.let { " build-scan-terms-of-use-url" to it },
292+ buildScanTermsOfUseAgree?.let { " build-scan-terms-of-use-agree" to it },
274293 buildScanTermsOfServiceUrl?.let { " build-scan-terms-of-service-url" to it },
275294 buildScanTermsOfServiceAgree?.let { " build-scan-terms-of-service-agree" to it },
276295 arguments?.let { " arguments" to it },
0 commit comments