public class JkLocalLibDependency extends JkComputedDependency
files, runnable
Modifier and Type | Method and Description |
---|---|
JkDependencySet |
getDependencies()
Returns the dependencies that will be consumed by the depender.
|
static JkLocalLibDependency |
of(java.lang.Runnable producer,
java.nio.file.Path file,
java.nio.file.Path basedir,
JkDependencySet dependencies)
Constructs a
JkLocalLibDependency from an artifact producer and the artifact file id
one is interested on. |
JkLocalLibDependency |
withIdeProjectDir(java.nio.file.Path path)
Returns a dependency identical to this one but with the specified project base dir.
|
equals, getFiles, getIdeProjectDir, getMissingFilesOrEmptyDirs, hashCode, hasMissingFilesOrEmptyDirs, of, of, of, of, toString
public static JkLocalLibDependency of(java.lang.Runnable producer, java.nio.file.Path file, java.nio.file.Path basedir, JkDependencySet dependencies)
JkLocalLibDependency
from an artifact producer and the artifact file id
one is interested on.producer
- The runnable producing the jar file.file
- The jar filebasedir
- The base directory of the project producing the jar file. Optional (IDE support)dependencies
- The dependencies that will be consumed by the depender. It's not the
the dependencies needed to compile the jar but the ones that would be
published.public JkDependencySet getDependencies()
public JkLocalLibDependency withIdeProjectDir(java.nio.file.Path path)
JkDependency
withIdeProjectDir
in interface JkDependency
withIdeProjectDir
in class JkComputedDependency
JkDependency.getIdeProjectDir()