You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add 7.4.0-alpha04 or newer to the matrix build (test-publish-dry-run.yaml)
Complains about incompatibility between Java 8 and 11
Expected Result
Build succeeds
Actual Result
A problem occurred configuring project ':examples:android-gradle'.
> Could not determine the dependencies of task ':plugin-build:compileGroovy'.
> Could not resolve all task dependencies for configuration ':plugin-build:compileClasspath'.
> Could not resolve com.android.tools.build:gradle:7.4.0-alpha04.
Required by:
project :plugin-build
> No matching variant of com.android.tools.build:gradle:7.4.0-alpha04 was found. The consumer was configured to find an API of a library compatible with Java 8, preferably not packaged as a jar, preferably optimized for standard JVMs, and its dependencies declared externally, as well as attribute 'org.jetbrains.kotlin.platform.type' with value 'jvm' but:
- Variant 'apiElements' capability com.android.tools.build:gradle:7.4.0-alpha04 declares an API of a library, packaged as a jar, and its dependencies declared externally, as well as attribute 'org.jetbrains.kotlin.platform.type' with value 'jvm':
- Incompatible because this component declares a component compatible with Java 11 and the consumer needed a component compatible with Java 8
- Other compatible attribute:
- Doesn't say anything about its target Java environment (preferred optimized for standard JVMs)
- Variant 'javadocElements' capability com.android.tools.build:gradle:7.4.0-alpha04 declares a runtime of a component, 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 environment (preferred optimized for standard JVMs)
- Doesn't say anything about its target Java version (required compatibility with Java 8)
- Doesn't say anything about its elements (required them preferably not packaged as a jar)
- Doesn't say anything about org.jetbrains.kotlin.platform.type (required 'jvm')
- Variant 'runtimeElements' capability com.android.tools.build:gradle:7.4.0-alpha04 declares a runtime of a library, packaged as a jar, and its dependencies declared externally, as well as attribute 'org.jetbrains.kotlin.platform.type' with value 'jvm':
- Incompatible because this component declares a component compatible with Java 11 and the consumer needed a component compatible with Java 8
- Other compatible attribute:
- Doesn't say anything about its target Java environment (preferred optimized for standard JVMs)
- Variant 'sourcesElements' capability com.android.tools.build:gradle:7.4.0-alpha04 declares a runtime of a component, 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 environment (preferred optimized for standard JVMs)
- Doesn't say anything about its target Java version (required compatibility with Java 8)
- Doesn't say anything about its elements (required them preferably not packaged as a jar)
- Doesn't say anything about org.jetbrains.kotlin.platform.type (required 'jvm')
The text was updated successfully, but these errors were encountered:
Gradle Version
7.5.0
AGP Version
7.4.0-alpha4+
Code Minifier/Optimizer
No response
Version
3.1.3
Sentry SDK Version
6.3.0
Steps to Reproduce
Add 7.4.0-alpha04 or newer to the matrix build (
test-publish-dry-run.yaml
)Complains about incompatibility between Java 8 and 11
Expected Result
Build succeeds
Actual Result
The text was updated successfully, but these errors were encountered: