public interface JkDependency
org.hibernate:hibernate-core:3.0.1
Modifier and Type | Method and Description |
---|---|
java.nio.file.Path |
getIdeProjectDir()
In the IDE, a dependency can be provided by a project exporting it.
|
default boolean |
matches(JkDependency other)
Returns
true if the specified dependency matches with this one. |
JkDependency |
withIdeProjectDir(java.nio.file.Path path)
Returns a dependency identical to this one but with the specified project base dir.
|
java.nio.file.Path getIdeProjectDir()
null
when the dependencies is not coming from another project.JkDependency withIdeProjectDir(java.nio.file.Path path)
getIdeProjectDir()
default boolean matches(JkDependency other)
true
if the specified dependency matches with this one. Matching means that two matching dependencies can not be declared in a same dependency set as it will be considered as a duplicate or result in a conflict.
For example "com.google:guava:21.0" is matching with "com.google:guava:23.0" even if they are not equals.