Clean up Kotlin code in buildSrc/ (#1512)

- fix most IntelliJ warnings (regex refactoring was done by IDE)
- replace hardcoded JVM target versions with BuildInfo.jvmTarget
This commit is contained in:
odenix
2026-04-08 16:09:37 -07:00
committed by GitHub
parent ff6f7223d3
commit fdeb568343
7 changed files with 16 additions and 14 deletions
+2 -1
View File
@@ -1,5 +1,5 @@
/*
* Copyright © 2025 Apple Inc. and the Pkl project authors. All rights reserved.
* Copyright © 2025-2026 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.
@@ -102,6 +102,7 @@ abstract class NativeImageBuild : DefaultTask() {
}
@TaskAction
@Suppress("unused")
protected fun run() {
execOperations.exec {
val exclusions =