This introduces a way to run CPU profiling. The profiler produces output in pprof format. CLI users can enable CPU profiling via command line flags. Profiling is otherwise not offered as an API. Co-authored-by: Jen Basch <jbasch94@gmail.com> Co-authored-by: Islon Scherer <islonscherer@gmail.com>
151 lines
8.9 KiB
TOML
151 lines
8.9 KiB
TOML
[versions] # ordered alphabetically
|
|
assertj = "3.27.7"
|
|
checksumPlugin = "1.4.0"
|
|
# 5.0.3 is the last version compatible with Kotlin 2.2
|
|
clikt = "5.0.3"
|
|
commonMark = "0.30.0"
|
|
downloadTaskPlugin = "5.7.0"
|
|
eclipseCdtFormat = "12.2"
|
|
errorProne = "2.50.0"
|
|
errorPronePlugin = "5.1.0"
|
|
geantyref = "2.0.1"
|
|
#noinspection UnusedVersionCatalogEntry
|
|
googleJavaFormat = "1.35.0"
|
|
graalVm = "25.2.4"
|
|
graalVmJdkVersion = "25.0.4"
|
|
#noinspection UnusedVersionCatalogEntry
|
|
graalVmInnovation = "2"
|
|
# slightly hacky but convenient place so we remember to update the checksum
|
|
# pklGraalVm.gradle.kts assumes this entry exists
|
|
#noinspection UnusedVersionCatalogEntry
|
|
graalVmSha256-macos-x64 = "unavailable"
|
|
#noinspection UnusedVersionCatalogEntry
|
|
graalVmSha256-macos-aarch64 = "507330fff8907de51b8621c95a21a491fa9b0d8c240de184594f40f83add3bfa"
|
|
#noinspection UnusedVersionCatalogEntry
|
|
graalVmSha256-linux-x64 = "3f4a89de8eaa96f2ed677f09957c7e872cd8467aad3537f8b5394c1b8c4b942e"
|
|
#noinspection UnusedVersionCatalogEntry
|
|
graalVmSha256-linux-aarch64 = "22286f7ecd21b9aedb3226b9bf797469e1bd3eefc491e12ef3dd49b452d230b7"
|
|
#noinspection UnusedVersionCatalogEntry
|
|
graalVmSha256-windows-x64 = "789d2af1c06c3c24f402d2d4a711bdbb19b36f7d8c74afe6a959492fd121ef33"
|
|
# pklGraalVm.gradle.kts assumes this entry exists
|
|
#noinspection UnusedVersionCatalogEntry
|
|
graalVmSha256-windows-aarch64 = "unavailable"
|
|
ideaExtPlugin = "1.4.1"
|
|
javaPoet = "0.17.0"
|
|
javaxInject = "1"
|
|
jextractPlugin = "1.+"
|
|
jimfs = "1.3.1"
|
|
jline = "4.4.6"
|
|
jmh = "1.37"
|
|
jmhPlugin = "0.7.3"
|
|
jna = "5.19.1"
|
|
jspecify = "1.0.0"
|
|
junit = "6.1.3"
|
|
# 1.7+ generates much more verbose code
|
|
kotlinPoet = "1.6.0"
|
|
kotlinStdLib = "2.2.21"
|
|
#noinspection UnusedVersionCatalogEntry
|
|
kotlinTarget = "2.2"
|
|
kotlinToolchain = "2.4.0"
|
|
kotlinxHtml = "0.12.0"
|
|
# 1.9.0 is the last version compatible with Kotlin 2.2
|
|
kotlinxSerialization = "1.9.0"
|
|
kotlinxCoroutines = "1.11.0"
|
|
#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.12"
|
|
nexusPublishPlugin = "2.0.0"
|
|
nullaway = "0.13.7"
|
|
nullawayPlugin = "3.0.0"
|
|
nuValidator = "26.7.3"
|
|
paguro = "3.10.3"
|
|
protobufPlugin = "0.10.0"
|
|
protobuf = "4.35.1"
|
|
shadowPlugin = "9.5.1"
|
|
slf4j = "2.0.20"
|
|
snakeYaml = "3.0.1"
|
|
spotlessPlugin = "8.8.0"
|
|
wiremock = "3.13.2"
|
|
|
|
[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" }
|
|
errorProneAnnotations = { group = "com.google.errorprone", name = "error_prone_annotations", 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" }
|
|
jna = { group = "net.java.dev.jna", name = "jna", version.ref = "jna" }
|
|
jnaPlatform = { group = "net.java.dev.jna", name = "jna-platform", version.ref = "jna" }
|
|
#noinspection UnusedVersionCatalogEntry
|
|
jspecify = { group = "org.jspecify", name = "jspecify", version.ref = "jspecify" }
|
|
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" }
|
|
protobuf = { group = "com.google.protobuf", name = "protobuf-java", version.ref = "protobuf" }
|
|
protoc = { group = "com.google.protobuf", name = "protoc", version.ref = "protobuf" }
|
|
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 = "graalVmJdkVersion" }
|
|
truffleApi = { group = "org.graalvm.truffle", name = "truffle-api", version.ref = "graalVm" }
|
|
truffleProfiler = { group = "org.graalvm.tools", name = "profiler-tool", 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 = "graalVmJdkVersion" }
|
|
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" }
|
|
jextract = { id = "de.infolektuell.jextract", version.ref = "jextractPlugin" }
|
|
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" }
|
|
protobuf = { id = "com.google.protobuf", version.ref = "protobufPlugin" }
|