forked from square/dagger
-
Notifications
You must be signed in to change notification settings - Fork 2k
Closed
Description
Getting thousands of Gradle deprecation failures related to aggregated deps.
There are multiple distinct artifact transformation chains of the same length that would satisfy this request. This behavior has been deprecated. This will fail with an error in Gradle 9.0. Remove one or more registered transforms, or add additional attributes to them to ensure only a single valid transformation chain exists.
Found multiple transformation chains that produce a variant of project :foo with requested attributes:
artifactType:aggregated-jar-for-hiltcom.android.build.api.attributes.AgpVersionAttr:8.11.1com.android.build.api.attributes.BuildTypeAttr:debugorg.gradle.category:libraryorg.gradle.jvm.environment:androidorg.gradle.usage:java-runtimeorg.jetbrains.kotlin.platform.type:androidJvm
1. From configuration :foo:debugRuntimeElements variant android-classes-jar:
Source attributes:
artifactType:android-classes-jarcom.android.build.api.attributes.AgpVersionAttr:8.11.1com.android.build.api.attributes.BuildTypeAttr:debugcom.android.build.gradle.internal.attributes.VariantAttr:debugorg.gradle.category:libraryorg.gradle.jvm.environment:androidorg.gradle.libraryelements:jarorg.gradle.usage:java-runtimeorg.jetbrains.kotlin.platform.type:androidJvm
Candidate transformation chain:
- IdentityTransform
- Converts from:
artifactTypeandroid-classes-jar - Converts to:
artifactTypeandroid-classes
- Converts from:
- CopyTransform
- Converts from:
artifactTypeandroid-classes - Converts to:
artifactTypejar-for-dagger
- Converts from:
- AggregatedPackagesTransform
- Converts from:
artifactTypejar-for-dagger - Converts to:
artifactTypeaggregated-jar-for-hilt
- Converts from:
2. From configuration :foo:debugRuntimeElements variant jar:
Source attributes:
artifactType:jarcom.android.build.api.attributes.AgpVersionAttr:8.11.1com.android.build.api.attributes.BuildTypeAttr:debugcom.android.build.gradle.internal.attributes.VariantAttr:debugorg.gradle.category:libraryorg.gradle.jvm.environment:androidorg.gradle.libraryelements:jarorg.gradle.usage:java-runtimeorg.jetbrains.kotlin.platform.type:androidJvm
Candidate transformation chain:
- UnzipTransform
- Converts from:
artifactTypejar - Converts to:
artifactTypedirectory
- Converts from:
- CopyTransform
- Converts from:
artifactTypedirectory - Converts to:
artifactTypejar-for-dagger
- Converts from:
- AggregatedPackagesTransform
- Converts from:
artifactTypejar-for-dagger - Converts to:
artifactTypeaggregated-jar-for-hilt
- Converts from:
SimonMarquis, vudzkostek, rschattauer, jstefanowski and ritesh-singh
Metadata
Metadata
Assignees
Labels
No labels