You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
id("org.gradle.toolchains.foojay-resolver-convention") version "1.0.0"
}
rootProject.name = "sigstore-java-root"
// TODO: update when ossfuzz bumps Java to 21, see https://github.com/google/oss-fuzz/issues/14266
if (!System.getenv("CIFUZZ").equals("true", ignoreCase = true) && JavaVersion.current() < JavaVersion.VERSION_21) {
throw UnsupportedOperationException("Please use Java 21+ for launching Gradle when building ${rootProject.name}, the current Java is ${JavaVersion.current().majorVersion}. " +
"If you want to execute tests with a different Java version, use -PjdkTestVersion=${JavaVersion.current().majorVersion}")