public final class JkImlGenerator
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
JkIml |
computeIml() |
JkIml |
computeIml(boolean isForJekaSrc) |
JkIml |
computeIml2(boolean includeJekaSrc,
boolean includeProject) |
JkImlGenerator |
configureIml(java.util.function.Consumer<JkIml> imlConfigurer) |
static java.nio.file.Path |
getImlFilePath(java.nio.file.Path moduleRootDir)
Returns the .iml file path for a module located at the specified root dir.
|
static JkImlGenerator |
of() |
JkImlGenerator |
setBaseDir(java.nio.file.Path baseDir) |
JkImlGenerator |
setDownloadSources(boolean downloadSources) |
JkImlGenerator |
setExcludeJekaLib(boolean excludeJekaLib) |
JkImlGenerator |
setFailOnDepsResolutionError(boolean failOnDepsResolutionError) |
JkImlGenerator |
setIdeSupport(JkIdeSupport ideSupport) |
JkImlGenerator |
setIdeSupport(java.util.function.Supplier<JkIdeSupport> ideSupportSupplier) |
JkImlGenerator |
setJekaSrcClasspath(JkPathSequence jekaSrcClasspath) |
JkImlGenerator |
setRunbaseDependencies(JkDependencySet runbaseDependencies)
Only needed to download sources declared od jeka-src dependencies
|
JkImlGenerator |
setUseVarPath(boolean useVarPath) |
public static JkImlGenerator of()
public static java.nio.file.Path getImlFilePath(java.nio.file.Path moduleRootDir)
moduleRootDir
- The path of module root dirpublic JkImlGenerator setUseVarPath(boolean useVarPath)
public JkImlGenerator setDownloadSources(boolean downloadSources)
public JkImlGenerator setJekaSrcClasspath(JkPathSequence jekaSrcClasspath)
public JkImlGenerator setRunbaseDependencies(JkDependencySet runbaseDependencies)
public JkImlGenerator setBaseDir(java.nio.file.Path baseDir)
public JkImlGenerator configureIml(java.util.function.Consumer<JkIml> imlConfigurer)
public JkImlGenerator setIdeSupport(java.util.function.Supplier<JkIdeSupport> ideSupportSupplier)
public JkImlGenerator setIdeSupport(JkIdeSupport ideSupport)
public JkImlGenerator setExcludeJekaLib(boolean excludeJekaLib)
public JkImlGenerator setFailOnDepsResolutionError(boolean failOnDepsResolutionError)
public JkIml computeIml()
public JkIml computeIml(boolean isForJekaSrc)
public JkIml computeIml2(boolean includeJekaSrc, boolean includeProject)