Package dev.jeka.core.tool
Annotation Interface JkInject
Adds an entry to the jeka-src classpath where this annotation is declared.
Typically, the annotated element is a
KBean
class from 'jeka/def' source directory.
But when used on a public field of type KBean
within a KBean
class,
the annotated field is injected with an initialised KBean
instance of the imported project.Example :
public class FatJarBuild extends KBean {
-
Optional Element Summary
Optional Elements
-
Element Details
-
value
String valueDependee project relative path- Default:
""
-