Yes, I want the dependency jars. And thanks for your patience
E.g. when I do the getFiles()
like:
Set<Configuration> configurations = getProject().getConfigurations();
for (Configuration configuration : configurations) {
if (includeDependenciesConfigurations.contains(configuration.getName())) {
Set<File> files = configuration.getFiles();
.. do other stuff
}
}
then it gives me:
Caused by: java.lang.IllegalStateException: Resolving dependency configuration 'implementation' is not allowed as it is defined as 'canBeResolved=false'.
Instead, a resolvable ('canBeResolved=true') dependency configuration that extends 'implementation' should be resolved.
So I can’t seem to be able to get the files for the implementation
configuration.
Btw besides the File
object I also need the extension of the dependency.
Thanks for your help so far,
Marcel