koresframework/Kores

Java 9 module support

Closed this issue · 0 comments

ModuleDeclaration module = ModuleDeclarationBuilder().builder()
     .withName("my.module.name")
     .withRequires("required_module"); // withRequires({module: ModuleDeclaration|String}[, modifier: CodeModifier])
     .withExports("my.module") // withExports({module: ModuleDeclaration|String}[, to: List<ModuleDeclaration>]
     .withUses("java.sql") // withUses({module: ModuleDeclaration|String})
     .withProvides("my.module.Service", "my.module.ServiceImpl") // withProvides({type: CodeType|String?}, {impl: CodeType|String?})
     .build()