diff --git a/AGENTS.md b/AGENTS.md index d97d4e2fb..2b1d23dee 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -16,7 +16,7 @@ This file provides guidance to Claude Code (claude.ai/code) when working with co update); `make versions-all` prints the versions plugin's full report. Both run the root `:dependencyUpdates`, which already checks every module — the unqualified `dependencyUpdates` prints the same report once per project. -Gradle 9.8.2 with `org.gradle.parallel=true` and `org.gradle.configuration-cache=true` enabled by default. The version +Gradle 9.9.2 with `org.gradle.parallel=true` and `org.gradle.configuration-cache=true` enabled by default. The version catalog (`gradle/libs.versions.toml`) is the single source of truth for plugin, dependency, **and toolchain** versions — the `gradle-wrapper` and `jvm` keys are read by `build.gradle.kts` (via `libs.versions.jvm`) and by the Makefile (the `upgrade-wrapper` target derives `GRADLE_VERSION` from the `gradle-wrapper` key in the catalog). The README's version diff --git a/Makefile b/Makefile index 2fe23edae..97b84259f 100644 --- a/Makefile +++ b/Makefile @@ -1,7 +1,11 @@ -.PHONY: default help stop tw-css tw-full-css clean clean-all build scan uberjar uber run tests ci ci-css ci-build ci-docs remote-tests \ - coverage coverage-html coverage-xml coverage-log coverage-verify coverage-open coverage-packages coverage-clean \ - dbinfo dbclean dbmigrate dbvalidate lint detekt detekt-baseline zizmor depends versions versions-all kdocs check-site upgrade-site \ - clean-docs site publish-local publish-local-snapshot publish-snapshot publish-maven-central upgrade-wrapper \ +.PHONY: default help stop tw-css tw-full-css clean clean-all build scan uberjar uber run tests \ + ci ci-css ci-build ci-docs remote-tests \ + coverage coverage-html coverage-xml coverage-log \ + coverage-verify coverage-open coverage-packages coverage-clean \ + dbinfo dbclean dbmigrate dbvalidate lint detekt detekt-baseline zizmor \ + depends versions versions-all kdocs check-site upgrade-site upgrade-wrapper \ + clean-docs site \ + publish-local publish-local-snapshot publish-snapshot publish-maven-central \ _check-gpg-env _check-maven-central-env _require-version _require-gradle-version VERSION := $(shell sed -n 's/^version=\(.*\)/\1/p' gradle.properties) diff --git a/gradle/libs.versions.toml b/gradle/libs.versions.toml index 1f0920330..e102b8fb2 100644 --- a/gradle/libs.versions.toml +++ b/gradle/libs.versions.toml @@ -1,6 +1,6 @@ [versions] # Toolchain versions -gradle-wrapper = "9.9.0" +gradle-wrapper = "9.9.2" jvm = "17" # Plugin versions @@ -14,11 +14,11 @@ maven-publish = "0.37.0" versions = "0.67.0" # Library versions -cloud = "1.30.2" +cloud = "1.31.0" commons = "1.15.0" exposed = "1.6.1" flexmark = "0.64.8" -flyway = "13.12.1" +flyway = "13.13.0" github-api = "1.330" hikari = "7.1.0" java-scriptengine = "2.0.0" @@ -28,16 +28,16 @@ khealth = "3.0.1" # a new state for every evaluation. Strict, so the version is published and it overrides the 2.4.21 that # common-utils' script-utils-kotlin asks for; lift it once a Kotlin release frees the state. kotlin-scripting = { strictly = "2.4.10" } -kotest = "6.2.6" +kotest = "6.2.7" ktor = "3.6.1" logback = "1.5.38" logging = "7.0.12" -playwright = "1.64.0" +playwright = "1.65.1" postgres = "42.7.14" prometheus = "1.10.0" -prometheus-proxy = "4.4.1" +prometheus-proxy = "4.5.0" python = "2.7.4" -serialization = "1.12.0" +serialization = "1.13.0" testcontainers = "2.0.5" utils = "5.2.0" diff --git a/gradle/wrapper/gradle-wrapper.properties b/gradle/wrapper/gradle-wrapper.properties index 94c356a03..d0d1a39c1 100644 --- a/gradle/wrapper/gradle-wrapper.properties +++ b/gradle/wrapper/gradle-wrapper.properties @@ -1,6 +1,6 @@ distributionBase=GRADLE_USER_HOME distributionPath=wrapper/dists -distributionUrl=https\://services.gradle.org/distributions/gradle-9.9.0-bin.zip +distributionUrl=https\://services.gradle.org/distributions/gradle-9.9.2-bin.zip networkTimeout=10000 retries=0 retryBackOffMs=500 diff --git a/llms.txt b/llms.txt index a23c923a9..29e3bec55 100644 --- a/llms.txt +++ b/llms.txt @@ -6,13 +6,13 @@ ReadingBat Core is a web application built with Ktor that serves programming cha ## Key Technologies -- Kotlin 2.4.21 (with experimental collection-literal syntax `[...]` enabled via `-Xcollection-literals`), Ktor 3.6.1 (CIO engine), Exposed ORM 1.6.0 with kotlinx-datetime, PostgreSQL through the PostgreSQL JDBC driver (`org.postgresql.Driver`, `jdbc:postgresql:` URLs; pgjdbc-ng's `jdbc:pgsql:` settings are rejected at startup by `DbmsSettings`) +- Kotlin 2.4.21 (with experimental collection-literal syntax `[...]` enabled via `-Xcollection-literals`), Ktor 3.6.1 (CIO engine), Exposed ORM 1.6.1 with kotlinx-datetime, PostgreSQL through the PostgreSQL JDBC driver (`org.postgresql.Driver`, `jdbc:postgresql:` URLs; pgjdbc-ng's `jdbc:pgsql:` settings are rejected at startup by `DbmsSettings`) - Kotlin JSR-223 scripting runtime pinned `strictly` to 2.4.10 (the `kotlin-scripting` catalog version), apart from the Kotlin the project builds with: from 2.4.20 the engine keeps every script state (~27 MB) reachable and the script pools start one per evaluation, so heap grows with every Kotlin evaluation. The strict version is published, so consumers inherit it - Kotlinx.html for server-side HTML generation (no templates) - Static assets (images, icons, Prism files, tailwind.css) are packaged in the jar and served at `/static`; a CDN is optional via `STATIC_URL_PREFIX` -- Kotest 6.2.6 for testing, Playwright for E2E tests in Chromium and WebKit (`PlaywrightTabsTest` runs in both because layout bugs can be engine-specific) +- Kotest 6.2.7 for testing, Playwright for E2E tests in Chromium and WebKit (`PlaywrightTabsTest` runs in both because layout bugs can be engine-specific) - Testcontainers 2.x (`org.testcontainers:testcontainers-postgresql`) starts the PostgreSQL 17 test database through `TestDatabase` in `readingbat-kotest`; the tests need only a running Docker daemon, and CI starts no database of its own -- Gradle 9.8.2 multi-module build with version catalog (libs.versions.toml) as the single source of truth for plugin, dependency, and toolchain (`gradle-wrapper`, `jvm`) versions; parallel project execution and configuration cache enabled +- Gradle 9.9.2 multi-module build with version catalog (libs.versions.toml) as the single source of truth for plugin, dependency, and toolchain (`gradle-wrapper`, `jvm`) versions; parallel project execution and configuration cache enabled - Kover 0.9.11 for code coverage, uploaded to Codecov from CI (per-area components defined in `codecov.yml`) - Detekt 2.0 alpha (`dev.detekt` plugin) for static analysis; Kotlinter for ktlint style - common-utils 5.2.0 (shared utility BOM from `com.github.pambrose`)