Upgrade to XP 8#168
Merged
Merged
Conversation
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 Report✅ All modified and coverable lines are covered by tests. 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. 🚀 New features to boost your workflow:
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Upgrades
lib-thymeleafbuild wiring to XP 8 per thexp-app-upgraderskill.xpVersion:8.0.0-SNAPSHOT→8.0.0-B4(latest released XP 8 beta on the dev channel —-SNAPSHOTis not a published version).settings.gradlenow appliesid 'com.enonic.xp.settings' version '4.0.0-B1'. This is the central XP 8 plumbing that supplies thecom.enonic.xp.baseplugin version and thexplibs.*dependency catalog.alias( libs.plugins.enonic.xp.base )with the unversionedid 'com.enonic.xp.base'(version is now supplied by the settings plugin).compileOnly "com.enonic.xp:core-api:${xpVersion}"andportal-apito thexplibscatalog:xplibs.api.coreandxplibs.api.portal.gradle/libs.versions.tomlcleanup: removed the now-redundantenonicXpGradleversion andenonic-xp-baseplugin 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).Test plan
./gradlew clean buildpasses locally🤖 Generated with Claude Code