Created
October 9, 2020 08:45
-
-
Save runningcode/e0568938f8f1ac3c7fdf80ae9b5a5776 to your computer and use it in GitHub Desktop.
Resolve all dependencies
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
task resolveAllDependencies { | |
dependsOn { | |
def resolvableConfigurations = project.configurations.grep { it.canBeResolved } | |
resolvableConfigurations.collect { config -> | |
config.getIncoming().artifactView({ view -> | |
view.componentFilter({ it instanceof ModuleComponentIdentifier }) | |
}).getFiles(); | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment