deps - resolve transitive dependencies
This project is a facade over the maven resolver api and implementation with the goal to provide a simple interface for artifact resolution.
@Test
fun `resolves junit and the transitive dependency hamcrest`() {
val deps = Deps()
val artifact = Artifact("junit:junit:4.12")
val paths: List<File> = deps.resolve(artifact)
assertTrue { paths.includes("junit-4.12.jar") }
assertTrue { paths.includes("hamcrest-core-1.3.jar") }
}