mirror of
https://github.com/apple/pkl.git
synced 2026-07-15 09:32:56 +02:00
Update to Gradle 8.6 (#245)
- Fix and clean up the pkl-commons-test build script. - Change tests to read test packages/certs directly from the file system instead of packaging and reading them from the class path. - Update expected checksums of some test packages. - Fix a conflict between Pkl's and Gradle's Kotlin libraries in the pkl-gradle project. - Fix build deprecation warnings. - Ensure Gradle distribution integrity with `distributionSha256Sum`. - Manually verify integrity of Gradle wrapper added by this commit.
This commit is contained in:
@@ -129,7 +129,7 @@ tasks.processResources {
|
||||
include("*.pkl")
|
||||
exclude("doc-package-info.pkl")
|
||||
}.map { "pkl:" + it.nameWithoutExtension }
|
||||
.sortedBy { it.toLowerCase() }
|
||||
.sortedBy { it.lowercase() }
|
||||
|
||||
filter<ReplaceTokens>("tokens" to mapOf(
|
||||
"version" to buildInfo.pklVersion,
|
||||
@@ -282,7 +282,7 @@ tasks.testNative {
|
||||
|
||||
tasks.clean {
|
||||
delete("generated/")
|
||||
delete("$buildDir/test-packages")
|
||||
delete("build/test-packages")
|
||||
}
|
||||
|
||||
spotless {
|
||||
|
||||
Reference in New Issue
Block a user