Skip to content

Migrate to Gradle version catalog and rename sslcontext-kickstart to ayza#216

Merged
rymsha merged 1 commit into
masterfrom
migrate-to-version-catalog
May 13, 2026
Merged

Migrate to Gradle version catalog and rename sslcontext-kickstart to ayza#216
rymsha merged 1 commit into
masterfrom
migrate-to-version-catalog

Conversation

@rymsha
Copy link
Copy Markdown
Contributor

@rymsha rymsha commented May 12, 2026

Summary

Migrate build.gradle to use a Gradle version catalog at gradle/libs.versions.toml, matching the convention used in the xp monorepo.

  • All inline version strings (methanol, junit-jupiter, mockito-core, slf4j-api, okhttp-tls, mockwebserver) are now libs.xxx references.
  • The ext { okhttpVersion = '5.3.2' } block is removed; the shared okhttp version is a single okhttp key in the catalog referenced by both okhttp-tls and mockwebserver.
  • The com.enonic.defaults plugin moves to the [plugins] table and is applied via alias(libs.plugins.enonic.defaults).

sslcontext-kickstart → ayza rename

io.github.hakky54:sslcontext-kickstart was renamed to io.github.hakky54:ayza in September 2025 (10.0.0). Bumped from 9.2.1 → 10.0.5.

The Java package nl.altindag.ssl.* is unchanged, so no source edits are required. Reviewed the 9.x → 10.x changelog; the features used by HttpClientFactory (SSLFactory.builder(), withTrustMaterial / withDefaultTrustMaterial / withIdentityMaterial, getSslContext, getSslParameters) were not touched in any breaking way.

Test plan

  • ./gradlew build runs green locally (all tests pass)
  • ./gradlew dependencies --configuration runtimeClasspath confirms io.github.hakky54:ayza:10.0.5 is on the runtime classpath
  • CI is green

🤖 Generated with Claude Code

…ayza

Move all inline dependency versions in build.gradle to a new
gradle/libs.versions.toml catalog, matching the convention used in the
xp monorepo. Drop the ext { okhttpVersion } block; the shared okhttp
version is now a single key in the catalog referenced by both
okhttp-tls and mockwebserver.

io.github.hakky54:sslcontext-kickstart was renamed to
io.github.hakky54:ayza in September 2025 (10.0.0). Bump to ayza 10.0.5.
The Java package nl.altindag.ssl.* is unchanged, so no source edits
are needed; only the features we use (SSLFactory.builder(),
withTrustMaterial / withDefaultTrustMaterial / withIdentityMaterial,
getSslContext, getSslParameters) were untouched by the 9.x → 10.x
changelog.

The com.enonic.defaults plugin moves to the [plugins] table and is
applied via alias(libs.plugins.enonic.defaults).

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@rymsha rymsha self-assigned this May 12, 2026
@codecov
Copy link
Copy Markdown

codecov Bot commented May 12, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 91.42%. Comparing base (68a43e7) to head (2b94ad4).

Additional details and impacted files
@@            Coverage Diff            @@
##             master     #216   +/-   ##
=========================================
  Coverage     91.42%   91.42%           
  Complexity      156      156           
=========================================
  Files             9        9           
  Lines           513      513           
  Branches         58       58           
=========================================
  Hits            469      469           
  Misses           23       23           
  Partials         21       21           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@rymsha rymsha merged commit d80345a into master May 13, 2026
4 checks passed
@rymsha rymsha deleted the migrate-to-version-catalog branch May 13, 2026 04:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant