Sunday, February 21, 2016

How to exclude a module in compile project dependency in Gradle

To exclude a module in compile project dependency in Gradle, add the following configuration:

configurations.compile.exclude module: "spring-data-elasticsearch"

Reference:
https://discuss.gradle.org/t/excluding-dependencies-from-dependent-projects/4506

No comments:

Post a Comment