I found two questions which are related to mine:
-
How to query for
provided
scoped dependencies of a configuration? -
Can’t resolve dependency(scope=provided) from local maven repository
Am I right that Gradle 7.5.1 won’t import transitive dependencies if their scope is provided? For example, I have the following dependency
implementation("io.delta:delta-standalone_2.13:0.5.0")
implementation("org.apache.hadoop:hadoop-client")
implementation("org.apache.parquet:parquet-hadoop")
hadoop-client and parquet-hadoop won’t be resolved. Is there a way (with a minimal amount of scripting) to automatically resolve the version of those dependencies from provided scope?
<dependency>
<groupId>org.apache.hadoop</groupId>
<artifactId>hadoop-client</artifactId>
<version>3.1.0</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.apache.parquet</groupId>
<artifactId>parquet-hadoop</artifactId>
<version>1.12.0</version>
<scope>provided</scope>
</dependency>