Skip to content

Improve project modularisation #358

@vietj

Description

@vietj

The project structure is a single jar file that contains everything all classes.

With the addition of protobuf generation we have added a new module to the project which create potential split package issues that we should avoid.

We should think about making it more modular by breaking it in more modules (annotations, processor, json generator).

  • vertx-codegen-processor : io.vertx.codegen.processor
  • vertx-codegen-json : io.vertx.codegen.json.
  • vertx-codegen-protobuf : io.vertx.codegen.protobuf

The vertx-codegen module would become like an uber jar of that for backward compatibility. Code would be repackaged accordingly and the vertx-codegen module would contain a io.vertx.codegen.CodegenProcessor class inheriting from the repackaged processor class for backward compatibility.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions