Skip to content
Resolve transitive dependencies
Kotlin
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
gradle/wrapper
src
.gitignore
.travis.yml
LICENSE
README.md
build.gradle.kts
gradlew
gradlew.bat
settings.gradle.kts

README.md

deps

Build Status CodeFactor Download

Leverages maven-resolver to resolve transitive dependencies.

Example

@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") }
}

Getting started

with Gradle

repositories {
    maven { url "https://dl.bintray.com/arturbosch/generic" }
}

implementation("io.gitlab.arturbosch:deps:[version]")

with Maven

See https://bintray.com/arturbosch/generic/deps# -> SET ME UP!

<dependency>
    <groupId>io.gitlab.arturbosch</groupId>
    <artifactId>deps</artifactId>
    <version>[version]</version>
</dependency>

with downloading this repo

  • git clone https://github.com/arturbosch/deps
  • cd deps
  • gradle build publishToMavenLocal
You can’t perform that action at this time.