@Retention(value=RUNTIME)
@Target(value={FIELD,TYPE})
public @interface JkDefImport
JkCommandSet class from 'jeka/def' source directory.
But when used on a public field of type JkCommandSet within a JkCommandSet class,
the annotated field is injected with an initialised JkCommandSet instance of the imported project.Example :
public class FatJarBuild extends JkCommandSet {
JkPluginJava javaPlugin = getPlugin(JkPluginJava.class);| Modifier and Type | Required Element and Description |
|---|---|
java.lang.String |
value
Dependee project relative path
|