My project depends on an artifact which stored in a Maven repository with this POM dependencies block:
groupId: com.hp.siu
artifactId: core
version: 3.0.0
scope: defaultIumPlugins
groupId: com.hp.siu.alcatel
artifactId: alcatel
version: 3.0.0
scope: imported
When I access these dependencies from Gradle via ResolvedDependency.children, they both appear as dependencies from the runtime configuration. Is it possible to get dependencies’ scopes as they declared in the original POM (that is, defaultIumPlugins and imported instead of runtime)?