From the initial state, the next step performed in our quest to Eclipse building is to convert projects to Gradle.
I will not put that much details on how I did it as it's relatively easy to find this information on the internet. Here the higher level steps I performed:
- Renamed
src/java
tosrc/main/java
in all Java projects. - Added
src/test/java
in Java projects containing unit tests. - Moved unit tests from source folder
src/java
tosrc/test/java
. - Fixed build path of each Java projects and adjusted source sets.
- Added root
settings.gradle
andbuild.gradle
files. - Added gradle build script in
api-services
,framework-core
andframework-services
.
Note that I did not add build scripts for Eclipse projects. This is normal since next steps will explore different ideas about how to build Eclipse projects using Eclipse.
Moreover, I did not remove vendor projects. This is simply because it's not clear how architecture will be. It might change depending on the actual solution used. As such, it's better to leave them like this and simply make the necessary modifications in another branch.