Monday, May 18, 2015

How to exclude a transitive dependency in a dependency in Gradle

In Gradle, to exclude a transitive dependency in a dependency,

do the following:

    compile("com.izeye.test:test-common:1.0.0") {
        exclude module: 'spring-boot-starter-security'
    }

Reference:
https://gradle.org/docs/current/userguide/dependency_management.html

No comments:

Post a Comment