Skip to content

[Documentation]: missing note that Gradle's JDK must be 17 #1137

Description

@nienienienie

Is there an existing issue for this?

  • I have searched the existing issues

Page URL (type "NEW" for a new page suggestion)

NEW

What's the documentation problem or suggestion?

I just downloaded the code, imported and: boom. Error.

A problem occurred configuring root project 'nowinandroid'.
Could not resolve all files for configuration ':classpath'.
Could not resolve androidx.benchmark:benchmark-baseline-profile-gradle-plugin:1.2.2.
Required by:
project : > androidx.baselineprofile:androidx.baselineprofile.gradle.plugin:1.2.2
> No matching variant of androidx.benchmark:benchmark-baseline-profile-gradle-plugin:1.2.2 was found. The consumer was configured to find a library for use during runtime, compatible with Java 11, packaged as a jar, and its dependencies declared externally, as well as attribute 'org.gradle.plugin.api-version' with value '8.5' but:
- Variant 'apiElements' capability androidx.benchmark:benchmark-baseline-profile-gradle-plugin:1.2.2 declares a library, packaged as a jar, and its dependencies declared externally:
- Incompatible because this component declares a component for use during compile-time, compatible with Java 17 and the consumer needed a component for use during runtime, compatible with Java 11
- Other compatible attribute:
- Doesn't say anything about org.gradle.plugin.api-version (required '8.5')
- Variant 'runtimeElements' capability androidx.benchmark:benchmark-baseline-profile-gradle-plugin:1.2.2 declares a library for use during runtime, packaged as a jar, and its dependencies declared externally:
- Incompatible because this component declares a component, compatible with Java 17 and the consumer needed a component, compatible with Java 11
- Other compatible attribute:
- Doesn't say anything about org.gradle.plugin.api-version (required '8.5')
- Variant 'sourcesElements' capability androidx.benchmark:benchmark-baseline-profile-gradle-plugin:1.2.2 declares a component for use during runtime, and its dependencies declared externally:
- Incompatible because this component declares documentation and the consumer needed a library
- Other compatible attributes:
- Doesn't say anything about its target Java version (required compatibility with Java 11)
- Doesn't say anything about its elements (required them packaged as a jar)
- Doesn't say anything about org.gradle.plugin.api-version (required '8.5')

Code of Conduct

  • I agree to follow this project's Code of Conduct

Metadata

Metadata

Assignees

No one assigned

    Labels

    documentationImprovements or additions to documentation

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions