File tree 3 files changed +5
-8
lines changed
3 files changed +5
-8
lines changed Original file line number Diff line number Diff line change 1
1
import groovy.json.JsonSlurper
2
- import org.jetbrains.kotlin.utils.sure
3
2
import org.pkl.core.Version
4
3
import org.pkl.gradle.task.BasePklTask
5
4
import org.pkl.gradle.task.ProjectPackageTask
@@ -8,10 +7,8 @@ import java.net.URI
8
7
import java.nio.file.Files
9
8
import java.nio.file.Path
10
9
import javax.net.ssl.HttpsURLConnection
11
- import kotlin.io.path.absolutePathString
12
10
import kotlin.io.path.isDirectory
13
11
import kotlin.io.path.name
14
- import kotlin.io.path.pathString
15
12
import kotlin.math.ceil
16
13
import kotlin.math.log10
17
14
Original file line number Diff line number Diff line change 1
1
[versions ]
2
- pkl = " 0.27 .+"
3
- kotlin = " 1.9.0 "
2
+ pkl = " 0.28 .+"
3
+ kotlin = " 2.1.10 "
4
4
junit = " 5.10.0"
5
5
spotless = " 6.25.0"
6
6
Original file line number Diff line number Diff line change 1
1
//===----------------------------------------------------------------------===//
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.
3
3
//
4
4
// Licensed under the Apache License, Version 2.0 (the "License");
5
5
// you may not use this file except in compliance with the License.
@@ -22,7 +22,7 @@ import "pkl:reflect"
22
22
local myModule = reflect.Module(module )
23
23
24
24
local packageName : String =
25
- findRootModule(reflect.Module( module ) )
25
+ findRootModule(myModule )
26
26
.relativePathTo(module )
27
27
.last
28
28
@@ -31,7 +31,7 @@ local function findRootModule(mod: reflect.Module): Module =
31
31
if (supermodule == null || ! supermodule.isAmend) mod.reflectee
32
32
else findRootModule(supermodule)
33
33
34
- local allTests = import * ("**/tests/**.pkl" ).keys.filter((it) -> ! it.contains("tests/fixtures/" ))
34
+ const local allTests = import * ("**/tests/**.pkl" ).keys.filter((it) -> ! it.contains("tests/fixtures/" ))
35
35
36
36
package {
37
37
name = packageName
You can’t perform that action at this time.
0 commit comments