Skip to content

Migration to Gradle - #54

Closed
NicoPiel wants to merge 37 commits into
OpenIntegrationEngine:mainfrom
NicoPiel:feature/gradle
Closed

NicoPiel wants to merge 37 commits into
OpenIntegrationEngine:mainfrom
NicoPiel:feature/gradle

Conversation

@NicoPiel

@NicoPiel NicoPiel commented Apr 23, 2025 •

Copy link
Copy Markdown
Contributor

I've started working on migrating OIE from Ant to Gradle.

To test, run ./gradlew clean build -x test

(tests are failing)

Fixes #52

@tonygermano
tonygermano changed the base branch from development to main April 23, 2025 01:05
@tonygermano

Copy link
Copy Markdown
Member

I haven't had a chance to do a thorough review yet, but I wanted to point out a small change in #60 so you didn't miss it.

@NicoPiel

Copy link
Copy Markdown
Contributor Author

Everything compiles, but tests still fail.

Nico Piel added 27 commits April 30, 2025 18:04
Signed-off-by: Nico Piel <[email protected]>
Signed-off-by: Nico Piel <[email protected]>
Signed-off-by: Nico Piel <[email protected]>
webdavclient4j does not include .lib

Signed-off-by: Nico Piel <[email protected]>
Tests are failing (missing deps)

Signed-off-by: Nico Piel <[email protected]>
Signed-off-by: Nico Piel <[email protected]>
Signed-off-by: Nico Piel <[email protected]>
Signed-off-by: Nico Piel <[email protected]>
Not running, cause of version.properties

Signed-off-by: Nico Piel <[email protected]>
Signed-off-by: Nico Piel <[email protected]>
Tests fail

Signed-off-by: Nico Piel <[email protected]>
Removes references to `build.properties` and related variables.
These properties are no longer needed, simplifying the build configuration.

Signed-off-by: Nico Piel <[email protected]>
Signed-off-by: Nico Piel <[email protected]>
This commit updates the build configuration files to align with a Gradle upgrade.

It configures duplicate strategy to exclude for Jar, Tar, and Zip tasks.
Removes unnecessary source set configurations and test configurations in build.gradle files.
Renames packages for test java classes in server module to align with the new structure.

Signed-off-by: Nico Piel <[email protected]>
Updates the server's dependency on the donkey project
to use the default artifact publication instead of
explicitly specifying the 'default' configuration.
This streamlines the dependency declaration.

Signed-off-by: Nico Piel <[email protected]>
Nico Piel and others added 3 commits April 30, 2025 18:04
Signed-off-by: Nico Piel <[email protected]>
Signed-off-by: Tony Germano <[email protected]>
Signed-off-by: Nico Piel <[email protected]>
engine.vmoptions in the basedir now only has includes for the following three files:
/conf/base_includes.vmoptions contains the default options for all runs as of mirth 4.5.2.
/conf/default_modules.vmoptions contains the java 9+ options as of 4.5.2.
/conf/custom.vmoptions is empty other than usage instructions and is the target for user changes

Signed-off-by: Tony Germano <[email protected]>
Signed-off-by: Nico Piel <[email protected]>
@NicoPiel

NicoPiel commented May 6, 2025 •

Copy link
Copy Markdown
Contributor Author

Project builds and outputs original dir structure (mostly). Server doesn't start yet.

Comment thread build.gradle

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Any reason you didn't go with the kotlin style build.gradle.kts?

IMHO it should be the default for any new project, the tooling support is so much better!

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

No reason at all. But good catch. I'll convert them :)

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.

[IDEA] Introduce Dependency Management (e.g. Gradle or Maven)

3 participants