Skip to content

Intellij KBean

IntellijKBean provides methods for generating metadata files for IntelliJ IDE. The content of an iml file is computed according the JkBuildable object found in found in the base directory.

This KBean proposes methods to customize generated iml file.

Configuration in a Build.java class
@Override
protected void init() {
    load(IntellijKBean.class)
            .replaceLibByModule("dev.jeka.jeka-core.jar", "dev.jeka.core")
            .setModuleAttributes("dev.jeka.core", JkIml.Scope.COMPILE, null);