Bump minimum Gradle version to 8.2 (#901)

The Kotlin 2.0 version upgrade made us incompatible with Gradle 8.1.

Given that it is now over 1.5 years old, this drops support for it, and
raises the minimum version to 8.2.
This commit is contained in:
Daniel Chao
2025-01-27 10:04:31 -08:00
committed by GitHub
parent 258eda8630
commit 5dc672731d
2 changed files with 3 additions and 3 deletions

View File

@@ -88,7 +88,7 @@ gradlePlugin {
gradlePluginTests {
// keep in sync with `PklPlugin.MIN_GRADLE_VERSION`
minGradleVersion = GradleVersion.version("8.1")
minGradleVersion = GradleVersion.version("8.2")
maxGradleVersion = GradleVersion.version("8.99")
skippedGradleVersions = listOf()
}

View File

@@ -1,5 +1,5 @@
/*
* Copyright © 2024 Apple Inc. and the Pkl project authors. All rights reserved.
* Copyright © 2024-2025 Apple Inc. and the Pkl project authors. All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -71,7 +71,7 @@ import org.pkl.gradle.utils.PluginUtils;
@SuppressWarnings("unused")
public class PklPlugin implements Plugin<Project> {
private static final String MIN_GRADLE_VERSION = "8.1";
private static final String MIN_GRADLE_VERSION = "8.2";
@LateInit private Project project;