Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issues on Gradle 8.12 #4569

Open
ansman opened this issue Jan 10, 2025 · 0 comments
Open

Issues on Gradle 8.12 #4569

ansman opened this issue Jan 10, 2025 · 0 comments

Comments

@ansman
Copy link

ansman commented Jan 10, 2025

After configuration, I see this in our gradle problem report:

There are multiple distinct artifact transformation chains of the same length that would satisfy this request. This behavior has been deprecated.

Solutions:
[enum]  Remove one or more registered transforms, or add additional attributes to them to ensure only a single valid transformation chain exists.

[enum]   Found multiple transformation chains that produce a variant of 'project :foundation:design:system' with requested attributes: - artifactType 'jar-for-dagger' - com.android.build.api.attributes.AgpVersionAttr '8.8.0' - com.android.build.api.attributes.BuildTypeAttr 'debug' - org.gradle.category 'library' - org.gradle.jvm.environment 'android' - org.gradle.usage 'java-runtime' - org.jetbrains.kotlin.platform.type 'androidJvm' Found the following transformation chains: - From configuration ':foundation:design:system:debugTestFixturesRuntimeElements' variant 'android-classes-jar': - With source attributes: - artifactType 'android-classes-jar' - com.android.build.api.attributes.AgpVersionAttr '8.8.0' - com.android.build.api.attributes.BuildTypeAttr 'debug' - com.android.build.gradle.internal.attributes.VariantAttr 'debug' - org.gradle.libraryelements 'jar' - org.gradle.usage 'java-runtime' - Candidate transformation chains: - Transformation chain: 'IdentityTransform' -> 'CopyTransform': - 'IdentityTransform': - Converts from attributes: - artifactType 'android-classes-jar' - To attributes: - artifactType 'android-classes' - 'CopyTransform': - Converts from attributes: - artifactType 'android-classes' - To attributes: - artifactType 'jar-for-dagger' - From configuration ':foundation:design:system:debugTestFixturesRuntimeElements' variant 'jar': - With source attributes: - artifactType 'jar' - com.android.build.api.attributes.AgpVersionAttr '8.8.0' - com.android.build.api.attributes.BuildTypeAttr 'debug' - com.android.build.gradle.internal.attributes.VariantAttr 'debug' - org.gradle.libraryelements 'jar' - org.gradle.usage 'java-runtime' - Candidate transformation chains: - Transformation chain: 'UnzipTransform' -> 'CopyTransform': - 'UnzipTransform': - Converts from attributes: - artifactType 'jar' - To attributes: - artifactType 'directory' - 'CopyTransform': - Converts from attributes: - artifactType 'directory' - To attributes: - artifactType 'jar-for-dagger'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant