Skip to content

Conversation

@EHandtkeBasis
Copy link
Member

No description provided.

---
title: Converting a WebforJ Maven Project to Gradle
sidebar_position: 3
description: Learn how to migrate a WebforJ project from Maven to Gradle using Groovy DSL.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

📝 [vale] reported by reviewdog 🐶
[Google.Acronyms] Spell out 'DSL', if it's unfamiliar to the audience.


# Converting a WebforJ maven project to gradle

If you're working with a WebforJ project and looking to switch from Maven to Gradle, this guide walks you through the key changes required to translate a typical `pom.xml` file into a working `build.gradle` script using Groovy DSL. The examples are tailored specifically for WebforJ setups, including Jetty integration, WAR packaging, and profile-based configuration.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

📝 [vale] reported by reviewdog 🐶
[Google.Acronyms] Spell out 'DSL', if it's unfamiliar to the audience.

- Go to File → Import → Gradle → Existing Gradle Project.
- Select your project directory and finish.

### VS Code

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ [vale] reported by reviewdog 🐶
[Google.Headings] 'VS Code' should use sentence-style capitalization.

@EHandtkeBasis EHandtkeBasis linked an issue Apr 22, 2025 that may be closed by this pull request
@hyyan
Copy link
Member

hyyan commented Apr 23, 2025

@EHandtkeBasis Fix the Vale issues please

@hyyan hyyan self-assigned this Apr 24, 2025
Copy link
Member

@MatthewHawkins MatthewHawkins left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Would it be possible to provide a downloadable or example build.gradle file that someone could take and use right off the bat without having to go through the steps?

If not, ignore this, but I think that would be useful.

@EHandtkeBasis
Copy link
Member Author

@MatthewHawkins is this what you imagined or would you prefer a different solution?

@hyyan hyyan marked this pull request as draft July 9, 2025 04:54
@hyyan hyyan added the status: on hold Paused due to an external dependency or pending decision. No action for now. label Oct 27, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

status: on hold Paused due to an external dependency or pending decision. No action for now.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Integrate gradle support for webforJ archetypes.

5 participants