Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

tresat
Copy link

@tresat tresat commented Apr 22, 2025

We are aiming to remove this type in an upcoming Gradle release. This change updates the version of Gradle used to build the OSS licenses project to the most recent release and replaces the usages of the deprecated type with its replacement. This plugin should be unaffected.

}
}
} catch (AmbiguousVariantSelectionException exception) {
} catch (ArtifactSelectionException exception) {

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@tresat on older versions of Gradle running this branch may throw an exception when JVM tries to find the catch block for AmbiguousVariantSelectionException when it is thrown, because this new ArtifactSelectionException might not be available in those old versions of Gradle. (I have no proof, just something that came to mind when seeing this change.)

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Definitely something to test.

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

Successfully merging this pull request may close these issues.

2 participants