### CI Link

https://gradle-enterprise.elastic.co/s/643p72k2g5sig/console-log?task=:modules:repository-gcs:thirdPartyAudit

### Repro line

N/A

### Does it reproduce?

Didn't try

### Applicable branches

8.6

### Failure history

_No response_

### Failure excerpt

```
Unnecessary exclusions, following classes are not missing: |  
-- | --
  | * org.graalvm.nativeimage.hosted.Feature |  
  | * org.graalvm.nativeimage.hosted.Feature$BeforeAnalysisAccess |  
  | * org.graalvm.nativeimage.hosted.Feature$DuringAnalysisAccess |  
  | * org.graalvm.nativeimage.hosted.Feature$FeatureAccess |  
  | * org.graalvm.nativeimage.hosted.RuntimeReflection
```
build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/info/BuildParams.java
/*
 * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
 * or more contributor license agreements. Licensed under the Elastic License
 * 2.0 and the Server Side Public License, v 1; you may not use this file except
 * in compliance with, at your election, the Elastic License 2.0 or the Server
 * Side Public License, v 1.
 */
package org.elasticsearch.gradle.internal.info;
import org.elasticsearch.gradle.internal.BwcVersions;
import org.gradle.api.Action;
import org.gradle.api.JavaVersion;
import org.gradle.api.provider.Provider;
import org.gradle.jvm.toolchain.JavaToolchainSpec;
import java.io.File;
import java.lang.reflect.Modifier;
import java.time.ZonedDateTime;
import java.util.Arrays;
import java.util.List;
import java.util.Random;
import java.util.function.Consumer;
import static java.util.Objects.requireNonNull;
public class BuildParams {