mirror of
https://github.com/apple/pkl.git
synced 2026-04-17 14:09:48 +02:00
- Enforce Kotlin version via resolution rule (replaces BOM) - fail if kotlin-stdlib/kotlin-reflect exceed target version - Replace kotlin-stdlib-jdk8 with kotlin-stdlib (jdk7/8 are now shims) - Port pkl-core annotation processor to Java (with Codex) - removes kotlin-stdlib from its compile classpath for better dependency hygiene (Java module) - Downgrade clikt for Kotlin 2.2 compatibility - Upgrade kotlinx-serialization --------- Co-authored-by: Daniel Chao <dan.chao@apple.com>
140 lines
8.2 KiB
TOML
140 lines
8.2 KiB
TOML
[versions] # ordered alphabetically
|
|
assertj = "3.+"
|
|
checksumPlugin = "1.4.0"
|
|
# 5.0.3 is the last version compatible with Kotlin 2.2
|
|
clikt = "5.0.3"
|
|
commonMark = "0.+"
|
|
downloadTaskPlugin = "5.7.0"
|
|
errorProne = "2.48.0"
|
|
errorPronePlugin = "5.1.0"
|
|
geantyref = "1.+"
|
|
#noinspection UnusedVersionCatalogEntry
|
|
googleJavaFormat = "1.35.0"
|
|
# must not use `+` because used in download URL
|
|
# 25.0.2 no longer supports macos-x64
|
|
graalVm = "25.0.1"
|
|
#noinspection UnusedVersionCatalogEntry
|
|
graalVmJdkVersion = "25.0.1"
|
|
# slightly hacky but convenient place so we remember to update the checksum
|
|
#noinspection UnusedVersionCatalogEntry
|
|
graalVmSha256-macos-x64 = "a3d895b4cd1c783badbd277ec70409806bd4102fca0d2a60dbaeb0bab41aec30"
|
|
#noinspection UnusedVersionCatalogEntry
|
|
graalVmSha256-macos-aarch64 = "066339f24a8ab5c161548491a9400f7344e7761a1e46f8979e76c7ef11d5bc76"
|
|
#noinspection UnusedVersionCatalogEntry
|
|
graalVmSha256-linux-x64 = "01e39fe1a87f28b842a3e4e3b77be9b544dca3a58fa6e93b924a6106c8bac7fb"
|
|
#noinspection UnusedVersionCatalogEntry
|
|
graalVmSha256-linux-aarch64 = "7aa0b9935a80e67f37c6025678393dbd123bb6f2226811decbc1a13093fc8ae2"
|
|
#noinspection UnusedVersionCatalogEntry
|
|
graalVmSha256-windows-x64 = "fde83c5ceec2c75560c747ccd9f314f90e4cf5c5287416e67c4ce442e344ca27"
|
|
# pklGraalVm.gradle.kts assumes this entry exists
|
|
#noinspection UnusedVersionCatalogEntry
|
|
graalVmSha256-windows-aarch64 = "unavailable"
|
|
ideaExtPlugin = "1.4.1"
|
|
javaPoet = "0.+"
|
|
javaxInject = "1"
|
|
jimfs = "1.+"
|
|
jline = "4.+"
|
|
jmh = "1.+"
|
|
jmhPlugin = "0.7.3"
|
|
jspecify = "1.0.0"
|
|
jsr305 = "3.+"
|
|
junit = "6.+"
|
|
# 1.7+ generates much more verbose code
|
|
kotlinPoet = "1.6.+"
|
|
kotlinStdLib = "2.2.21"
|
|
#noinspection UnusedVersionCatalogEntry
|
|
kotlinTarget = "2.2"
|
|
kotlinToolchain = "2.3.20"
|
|
kotlinxHtml = "0.12.0"
|
|
# 1.9.0 is the last version compatible with Kotlin 2.2
|
|
kotlinxSerialization = "1.9.0"
|
|
kotlinxCoroutines = "1.+"
|
|
#noinspection UnusedVersionCatalogEntry
|
|
ktfmt = "0.62"
|
|
# replaces nuValidator's log4j dependency
|
|
# 2.17.1 is the last version compatible with nuValidator
|
|
log4j = "2.17.1"
|
|
msgpack = "0.9.11"
|
|
nexusPublishPlugin = "2.0.0"
|
|
nullaway = "0.13.1"
|
|
nullawayPlugin = "3.0.0"
|
|
nuValidator = "26.+"
|
|
paguro = "3.+"
|
|
shadowPlugin = "9.+"
|
|
slf4j = "2.+"
|
|
snakeYaml = "2.+"
|
|
spotlessPlugin = "8.4.0"
|
|
wiremock = "3.+"
|
|
|
|
[libraries] # ordered alphabetically
|
|
assertj = { group = "org.assertj", name = "assertj-core", version.ref = "assertj" }
|
|
clikt = { group = "com.github.ajalt.clikt", name = "clikt", version.ref = "clikt" }
|
|
cliktMarkdown = { group = "com.github.ajalt.clikt", name = "clikt-markdown", version.ref = "clikt" }
|
|
commonMark = { group = "org.commonmark", name = "commonmark", version.ref = "commonMark" }
|
|
commonMarkTables = { group = "org.commonmark", name = "commonmark-ext-gfm-tables", version.ref = "commonMark" }
|
|
downloadTaskPlugin = { group = "de.undercouch", name = "gradle-download-task", version.ref = "downloadTaskPlugin" }
|
|
#noinspection UnusedVersionCatalogEntry
|
|
errorProne = { group = "com.google.errorprone", name = "error_prone_core", version.ref = "errorProne" }
|
|
errorPronePlugin = { group = "net.ltgt.gradle", name = "gradle-errorprone-plugin", version.ref = "errorPronePlugin" }
|
|
geantyref = { group = "io.leangen.geantyref", name = "geantyref", version.ref = "geantyref" }
|
|
graalCompiler = { group = "org.graalvm.compiler", name = "compiler", version.ref = "graalVm" }
|
|
graalSdk = { group = "org.graalvm.sdk", name = "graal-sdk", version.ref = "graalVm" }
|
|
graalJs = { group = "org.graalvm.js", name = "js", version.ref = "graalVm" }
|
|
javaPoet = { group = "com.palantir.javapoet", name = "javapoet", version.ref = "javaPoet" }
|
|
javaxInject = { group = "javax.inject", name = "javax.inject", version.ref = "javaxInject" }
|
|
jimfs = { group = "com.google.jimfs", name = "jimfs", version.ref = "jimfs" }
|
|
jlineReader = { group = "org.jline", name = "jline-reader", version.ref = "jline" }
|
|
jlineTerminal = { group = "org.jline", name = "jline-terminal", version.ref = "jline" }
|
|
jlineTerminalJni = { group = "org.jline", name = "jline-terminal-jni", version.ref = "jline" }
|
|
#noinspection UnusedVersionCatalogEntry
|
|
jspecify = { group = "org.jspecify", name = "jspecify", version.ref = "jspecify" }
|
|
jsr305 = { group = "com.google.code.findbugs", name = "jsr305", version.ref = "jsr305" }
|
|
junitApi = { group = "org.junit.jupiter", name = "junit-jupiter-api", version.ref = "junit" }
|
|
junitEngine = { group = "org.junit.jupiter", name = "junit-jupiter-engine", version.ref = "junit" }
|
|
junitParams = { group = "org.junit.jupiter", name = "junit-jupiter-params", version.ref = "junit" }
|
|
#noinspection UnusedVersionCatalogEntry
|
|
junitLauncher = { group = "org.junit.platform", name = "junit-platform-launcher", version.ref = "junit" }
|
|
kotlinPlugin = { group = "org.jetbrains.kotlin", name = "kotlin-gradle-plugin", version.ref = "kotlinToolchain" }
|
|
kotlinPoet = { group = "com.squareup", name = "kotlinpoet", version.ref = "kotlinPoet" }
|
|
kotlinReflect = { group = "org.jetbrains.kotlin", name = "kotlin-reflect", version.ref = "kotlinStdLib" }
|
|
kotlinScripting = { group = "org.jetbrains.kotlin", name = "kotlin-scripting-jsr223", version.ref = "kotlinStdLib" }
|
|
#noinspection UnusedVersionCatalogEntry
|
|
kotlinStdLib = { group = "org.jetbrains.kotlin", name = "kotlin-stdlib", version.ref = "kotlinStdLib" }
|
|
kotlinxHtml = { group = "org.jetbrains.kotlinx", name = "kotlinx-html-jvm", version.ref = "kotlinxHtml" }
|
|
kotlinxSerializationJson = { group = "org.jetbrains.kotlinx", name = "kotlinx-serialization-json", version.ref = "kotlinxSerialization" }
|
|
kotlinxCoroutinesCore = { group = "org.jetbrains.kotlinx", name = "kotlinx-coroutines-core", version.ref = "kotlinxCoroutines" }
|
|
#noinspection UnusedVersionCatalogEntry
|
|
log4j12Api = { group = "org.apache.logging.log4j", name = "log4j-1.2-api", version.ref = "log4j" }
|
|
msgpack = { group = "org.msgpack", name = "msgpack-core", version.ref = "msgpack" }
|
|
#noinspection UnusedVersionCatalogEntry
|
|
nuValidator = { group = "nu.validator", name = "validator", version.ref = "nuValidator" }
|
|
#noinspection UnusedVersionCatalogEntry
|
|
nullaway = { group = "com.uber.nullaway", name = "nullaway", version.ref = "nullaway" }
|
|
nullawayPlugin = { group = "net.ltgt.gradle", name = "gradle-nullaway-plugin", version.ref = "nullawayPlugin" }
|
|
# to be replaced with https://github.com/usethesource/capsule or https://github.com/lacuna/bifurcan
|
|
paguro = { group = "org.organicdesign", name = "Paguro", version.ref = "paguro" }
|
|
pklConfigJavaAll025 = { group = "org.pkl-lang", name = "pkl-config-java-all", version = "0.25.0" }
|
|
shadowPlugin = { group = "com.gradleup.shadow", name = "com.gradleup.shadow.gradle.plugin", version.ref = "shadowPlugin" }
|
|
slf4jApi = { group = "org.slf4j", name = "slf4j-api", version.ref = "slf4j" }
|
|
slf4jSimple = { group = "org.slf4j", name = "slf4j-simple", version.ref = "slf4j" }
|
|
snakeYaml = { group = "org.snakeyaml", name = "snakeyaml-engine", version.ref = "snakeYaml" }
|
|
spotlessPlugin = { group = "com.diffplug.spotless", name = "spotless-plugin-gradle", version.ref = "spotlessPlugin"}
|
|
svm = { group = "org.graalvm.nativeimage", name = "svm", version.ref = "graalVm" }
|
|
truffleApi = { group = "org.graalvm.truffle", name = "truffle-api", version.ref = "graalVm" }
|
|
truffleDslProcessor = { group = "org.graalvm.truffle", name = "truffle-dsl-processor", version.ref = "graalVm" }
|
|
truffleSvm = { group = "org.graalvm.nativeimage", name = "truffle-runtime-svm", version.ref = "graalVm" }
|
|
truffleRuntime = { group = "org.graalvm.truffle", name = "truffle-runtime", version.ref = "graalVm" }
|
|
wiremock = { group = "org.wiremock", name = "wiremock", version.ref = "wiremock" }
|
|
|
|
[plugins] # ordered alphabetically
|
|
checksum = { id = "org.gradle.crypto.checksum", version.ref = "checksumPlugin" }
|
|
#noinspection UnusedVersionCatalogEntry
|
|
errorProne = { id = "net.ltgt.errorprone", version.ref = "errorPronePlugin" }
|
|
ideaExt = { id = "org.jetbrains.gradle.plugin.idea-ext", version.ref = "ideaExtPlugin" }
|
|
jmh = { id = "me.champeau.jmh", version.ref = "jmhPlugin" }
|
|
kotlinxSerialization = { id = "org.jetbrains.kotlin.plugin.serialization", version.ref = "kotlinToolchain" }
|
|
nexusPublish = { id = "io.github.gradle-nexus.publish-plugin", version.ref = "nexusPublishPlugin" }
|
|
#noinspection UnusedVersionCatalogEntry
|
|
nullaway = { id = "net.ltgt.nullaway", version.ref = "nullawayPlugin" }
|
|
shadow = { id = "com.gradleup.shadow", version.ref = "shadowPlugin" }
|