Skip to content

Upgrade to XP 8#168

Merged
rymsha merged 1 commit into
masterfrom
chore/upgrade-to-xp8
May 6, 2026
Merged

Upgrade to XP 8#168
rymsha merged 1 commit into
masterfrom
chore/upgrade-to-xp8

Conversation

@rymsha
Copy link
Copy Markdown
Contributor

@rymsha rymsha commented May 5, 2026

Summary

Upgrades lib-thymeleaf build wiring to XP 8 per the xp-app-upgrader skill.

  • xpVersion: 8.0.0-SNAPSHOT8.0.0-B4 (latest released XP 8 beta on the dev channel — -SNAPSHOT is not a published version).
  • Settings plugin added: settings.gradle now applies id 'com.enonic.xp.settings' version '4.0.0-B1'. This is the central XP 8 plumbing that supplies the com.enonic.xp.base plugin version and the xplibs.* dependency catalog.
  • Build.gradle reorganized:
    • Replaced the version-pinned alias( libs.plugins.enonic.xp.base ) with the unversioned id 'com.enonic.xp.base' (version is now supplied by the settings plugin).
    • Migrated compileOnly "com.enonic.xp:core-api:${xpVersion}" and portal-api to the xplibs catalog: xplibs.api.core and xplibs.api.portal.
  • gradle/libs.versions.toml cleanup: removed the now-redundant enonicXpGradle version and enonic-xp-base plugin alias.

App-only steps in the skill (settings → cms, admin tools/widgets, services/APIs/tasks, webapp, idprovider, application descriptor) were not applicable — this is a JS-exposing Java library with no descriptors.

Validation

  • ./gradlew clean build — green (BUILD SUCCESSFUL in 15s, all tests pass).
  • Runtime verification was not performed (sandbox runner is ephemeral; out of scope per task brief).

Test plan

  • ./gradlew clean build passes locally
  • CI green on this branch

🤖 Generated with Claude Code

Bump xpVersion from 8.0.0-SNAPSHOT to released 8.0.0-B4, add the
com.enonic.xp.settings plugin in settings.gradle (4.0.0-B1) which now
supplies the com.enonic.xp.base plugin version and the xplibs.* catalog,
and migrate the long-form com.enonic.xp:core-api / portal-api
compileOnly deps to xplibs.api.core / xplibs.api.portal. Drop the
now-redundant enonic-xp-base alias from gradle/libs.versions.toml.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@codecov
Copy link
Copy Markdown

codecov Bot commented May 5, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 78.85%. Comparing base (1b93fd9) to head (b468031).

Additional details and impacted files
@@            Coverage Diff            @@
##             master     #168   +/-   ##
=========================================
  Coverage     78.85%   78.85%           
  Complexity      128      128           
=========================================
  Files            25       25           
  Lines           402      402           
  Branches         25       25           
=========================================
  Hits            317      317           
  Misses           65       65           
  Partials         20       20           

☔ 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 297eb41 into master May 6, 2026
4 checks passed
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