public class JkProjectDependencies
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
JkProjectDependencies |
and(JkProjectDependencies other) |
JkDependencySet |
getCompile() |
JkDependencySet |
getRuntime() |
JkDependencySet |
getTest() |
static JkProjectDependencies |
of(JkDependencySet compile,
JkDependencySet runtime,
JkDependencySet test) |
static JkProjectDependencies |
ofLocal(java.nio.file.Path baseDir)
Creates a
JkDependencySet based on jars located under the specified directory. |
static JkProjectDependencies |
ofTextDescription(java.nio.file.Path path) |
static JkProjectDependencies |
ofTextDescription(java.lang.String description)
Creates a
JkProjectDependencies from a flat file formatted as : |
static JkProjectDependencies |
ofTextDescription(java.net.URL url) |
static JkProjectDependencies |
ofTextDescriptionIfExist(java.nio.file.Path path) |
public static JkProjectDependencies of(JkDependencySet compile, JkDependencySet runtime, JkDependencySet test)
public static JkProjectDependencies ofLocal(java.nio.file.Path baseDir)
JkDependencySet
based on jars located under the specified directory. Jars are
supposed to lie in a directory structure standing for the different scopes they are intended.
So jars needed for compilation are supposed to be in baseDir/compile
, jar needed for
test are supposed to be in baseDir/test
and so on.public static JkProjectDependencies ofTextDescription(java.nio.file.Path path)
ofTextDescription(String)
public static JkProjectDependencies ofTextDescriptionIfExist(java.nio.file.Path path)
ofTextDescription(String)
public static JkProjectDependencies ofTextDescription(java.net.URL url)
ofTextDescription(String)
public static JkProjectDependencies ofTextDescription(java.lang.String description)
JkProjectDependencies
from a flat file formatted as :
- COMPILE+RUNTIME org.springframework.boot:spring-boot-starter-thymeleaf org.springframework.boot:spring-boot-starter-data-jpa - COMPILE org.projectlombok:lombok:1.16.16 - RUNTIME com.h2database:h2 org.liquibase:liquibase-core com.oracle:ojdbc6:12.1.0 - TEST org.springframework.boot:spring-boot-starter-test org.seleniumhq.selenium:selenium-chrome-driver:3.4.0 org.fluentlenium:fluentlenium-assertj:3.2.0 org.fluentlenium:fluentlenium-junit:3.2.0
public JkDependencySet getCompile()
public JkDependencySet getRuntime()
public JkDependencySet getTest()
public JkProjectDependencies and(JkProjectDependencies other)