ort icon indicating copy to clipboard operation
ort copied to clipboard

GradleInspector fails to detect some package metadata attributes with Gradle wrapper 8.2

Open fviernau opened this issue 1 year ago • 2 comments

Prior to upgrading [1] to use Gradle wrapper version 8.5 (instead of verison 8.2), the GradleInspector failed to detected the source artifact URL for most of the dependencies of [1]. In particular, for the Kotlin libraries such as the Kotlin stdlib.

Note: The analysis also worked with Gradle 8.4.

[1] https://github.com/epam/ai-dial-core

fviernau avatar Dec 27 '23 11:12 fviernau

FYI, https://github.com/gradle/gradle/issues/23208 was fixed only in Gradle 8.5, maybe it's related.

sschuberth avatar Dec 27 '23 13:12 sschuberth

FYI, gradle/gradle#23208 was fixed only in Gradle 8.5, maybe it's related.

It worked also with Gradle 8.4, I've updated the description accordingly.

fviernau avatar Dec 27 '23 13:12 fviernau

Prior to upgrading [1] to use Gradle wrapper version 8.5

Note to myself: So the version to analyze would be https://github.com/epam/ai-dial-core/commit/a5d603e334446ca7d4a615a69321597d6a67ef8b, which is the parent of https://github.com/epam/ai-dial-core/commit/ff84dd90e8c216f7cf30859cc9d5541eaaa7d7cf.

Edit: Here are the analyzer results for comparison.

analyzer-result-a5d603e.zip analyzer-result-ff84dd9.zip

image

sschuberth avatar Mar 15 '24 14:03 sschuberth

The issue is caused by a regression in Gradle 8.2 that was fixed in Gradle 8.2.1 via https://github.com/gradle/gradle/pull/25675.

sschuberth avatar Mar 15 '24 16:03 sschuberth