ofbiz-framework
ofbiz-framework copied to clipboard
[Exploratory] Use gralde projects for framework components
DO NOT MERGE
Exploratory branch - see how we can approach components dependency https://issues.apache.org/jira/browse/OFBIZ-3500
This is to start discussion around improving ofbiz codebaase to allow more contributions.
Goals:
- Migrate ofbiz components to use gradle projects.
- Expose dependencies of each component.
- Expose circular dependencies between components.
- Allow easier future code changes / dependency updates.
Test with:
cd framework
./gradlew clean build
Done so far:
- Created build.gradle files for some components; start, base, common, etc.
- Circular dependencies between components needs to be fixed before we move forward. ** start depends on base and reverse ** common depends on base and reverse ** base depends on entity and webapp ** etc ?!
cc @nmalin : This is to start discussions. The job is a bit more complex because of circular dependencies between modules.
If you
cd framewrok
./gradlew clean build
(or open framework project in IDE) you will see what I mean.
Right now start
depends on base
and base
on start
.
base
also depends on entity
and webapp
.
I believe these circular dependencies should be fixed and I would need some help here.
Kudos, SonarCloud Quality Gate passed!
0 Bugs
0 Vulnerabilities
0 Security Hotspots
0 Code Smells
No Coverage information
0.2% Duplication
Superseded by https://github.com/apache/ofbiz-framework/pull/678 .