File tree Expand file tree Collapse file tree 9 files changed +28
-20
lines changed Expand file tree Collapse file tree 9 files changed +28
-20
lines changed Original file line number Diff line number Diff line change 11//===----------------------------------------------------------------------===//
2- // Copyright © 2024 Apple Inc. and the Pkl project authors. All rights reserved.
2+ // Copyright © 2024-2025 Apple Inc. and the Pkl project authors. All rights reserved.
33//
44// Licensed under the Apache License, Version 2.0 (the "License");
55// you may not use this file except in compliance with the License.
1313// See the License for the specific language governing permissions and
1414// limitations under the License.
1515//===----------------------------------------------------------------------===//
16- amends "package://pkg.pkl-lang.org/pkl-project-commons/pkl.impl.circleci@1.0.0 #/PklCI.pkl"
16+ amends "package://pkg.pkl-lang.org/pkl-project-commons/pkl.impl.circleci@1.1.1 #/PklCI.pkl"
1717
1818jobs {
1919 ["build" ] {
2020 docker {
21- new { image = "cimg/openjdk:17 .0" }
21+ new { image = "cimg/openjdk:21 .0" }
2222 }
2323 steps {
2424 "checkout"
Original file line number Diff line number Diff line change 1717 paths :
1818 - build
1919 docker :
20- - image : cimg/openjdk:17 .0
20+ - image : cimg/openjdk:21 .0
2121 release :
2222 steps :
2323 - checkout
@@ -66,7 +66,6 @@ workflows:
6666 - build :
6767 requires :
6868 - hold
69- - pr-approval/authenticate
7069 when :
7170 matches :
7271 value : << pipeline.git.branch >>
Original file line number Diff line number Diff line change @@ -62,7 +62,7 @@ spotless {
6262}
6363
6464kotlin {
65- jvmToolchain(17 )
65+ jvmToolchain(21 )
6666}
6767
6868repositories {
Original file line number Diff line number Diff line change 11[versions ]
22pkl = " 0.25.1"
3- kotlin = " 1.9 .0"
3+ kotlin = " 2.1 .0"
44junit = " 5.10.0"
55spotless = " 6.25.0"
66
Original file line number Diff line number Diff line change 11distributionBase =GRADLE_USER_HOME
22distributionPath =wrapper/dists
3- distributionUrl =https\://services.gradle.org/distributions/gradle-8.5 -bin.zip
3+ distributionUrl =https\://services.gradle.org/distributions/gradle-8.12 -bin.zip
44networkTimeout =10000
55validateDistributionUrl =true
66zipStoreBase =GRADLE_USER_HOME
Original file line number Diff line number Diff line change 1515# See the License for the specific language governing permissions and
1616# limitations under the License.
1717#
18+ # SPDX-License-Identifier: Apache-2.0
19+ #
1820
1921# #############################################################################
2022#
5557# Darwin, MinGW, and NonStop.
5658#
5759# (3) This script is generated from the Groovy template
58- # https://github.com/gradle/gradle/blob/HEAD/subprojects/ plugins/src/main/resources/org/gradle/api/internal/plugins/unixStartScript.txt
60+ # https://github.com/gradle/gradle/blob/HEAD/platforms/jvm/ plugins-application /src/main/resources/org/gradle/api/internal/plugins/unixStartScript.txt
5961# within the Gradle project.
6062#
6163# You can find Gradle at https://github.com/gradle/gradle/.
8486# shellcheck disable=SC2034
8587APP_BASE_NAME=${0##*/ }
8688# Discard cd standard output in case $CDPATH is set (https://github.com/gradle/gradle/issues/25036)
87- APP_HOME=$( cd " ${APP_HOME:- ./ } " > /dev/null && pwd -P ) || exit
89+ APP_HOME=$( cd -P " ${APP_HOME:- ./ } " > /dev/null && printf ' %s
90+ ' " $PWD " ) || exit
8891
8992# Use the maximum available, or set MAX_FD != -1 to use that value.
9093MAX_FD=maximum
Original file line number Diff line number Diff line change 1313@ rem See the License for the specific language governing permissions and
1414@ rem limitations under the License.
1515@ rem
16+ @ rem SPDX-License-Identifier: Apache-2.0
17+ @ rem
1618
1719@ if " %DEBUG% " == " " @ echo off
1820@ rem ##########################################################################
@@ -43,11 +45,11 @@ set JAVA_EXE=java.exe
4345%JAVA_EXE% -version > NUL 2 >& 1
4446if %ERRORLEVEL% equ 0 goto execute
4547
46- echo .
47- echo ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH.
48- echo .
49- echo Please set the JAVA_HOME variable in your environment to match the
50- echo location of your Java installation.
48+ echo . 1 >& 2
49+ echo ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH. 1 >& 2
50+ echo . 1 >& 2
51+ echo Please set the JAVA_HOME variable in your environment to match the 1 >& 2
52+ echo location of your Java installation. 1 >& 2
5153
5254goto fail
5355
@@ -57,11 +59,11 @@ set JAVA_EXE=%JAVA_HOME%/bin/java.exe
5759
5860if exist " %JAVA_EXE% " goto execute
5961
60- echo .
61- echo ERROR: JAVA_HOME is set to an invalid directory: %JAVA_HOME%
62- echo .
63- echo Please set the JAVA_HOME variable in your environment to match the
64- echo location of your Java installation.
62+ echo . 1 >& 2
63+ echo ERROR: JAVA_HOME is set to an invalid directory: %JAVA_HOME% 1 >& 2
64+ echo . 1 >& 2
65+ echo Please set the JAVA_HOME variable in your environment to match the 1 >& 2
66+ echo location of your Java installation. 1 >& 2
6567
6668goto fail
6769
Original file line number Diff line number Diff line change @@ -5,4 +5,8 @@ pluginManagement {
55 }
66}
77
8+ plugins {
9+ id(" org.gradle.toolchains.foojay-resolver-convention" ) version " 0.9.0"
10+ }
11+
812rootProject.name = " pkl-project-commons"
You can’t perform that action at this time.
0 commit comments