Jimexist commented on PR #2601:
URL: https://github.com/apache/thrift/pull/2601#issuecomment-1120604901
confirmed that the build failure in Java 8 was due to kolin:
<details>
<summary>build log</summary>
```
root@5ec15a799389:/opt/thrift/src/lib/kotlin# ../java/gradlew assemble
FAILURE: Build failed with an exception.
* What went wrong:
A problem occurred configuring root project 'libthrift-kotlin'.
> Could not determine the dependencies of null.
> Could not resolve all task dependencies for configuration ':classpath'.
> Could not resolve com.ncorti.ktfmt.gradle:plugin:0.8.0.
Required by:
project : >
com.ncorti.ktfmt.gradle:com.ncorti.ktfmt.gradle.gradle.plugin:0.8.0
> No matching variant of com.ncorti.ktfmt.gradle:plugin:0.8.0 was
found. The consumer was configured to find a runtime of a library compatible
with Java 8, packaged as a jar, and its dependencies declared externally, as
well as attribute 'org.gradle.plugin.api-version' with value '7.4.2' but:
- Variant 'apiElements' capability
com.ncorti.ktfmt.gradle:plugin:0.8.0 declares a library, packaged as a jar, and
its dependencies declared externally:
- Incompatible because this component declares an API of a
component compatible with Java 11 and the consumer needed a runtime of a
component compatible with Java 8
- Other compatible attribute:
- Doesn't say anything about
org.gradle.plugin.api-version (required '7.4.2')
- Variant 'runtimeElements' capability
com.ncorti.ktfmt.gradle:plugin:0.8.0 declares a runtime of a library, packaged
as a jar, and its dependencies declared externally:
- 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
org.gradle.plugin.api-version (required '7.4.2')
* Try:
> Run with --stacktrace option to get the stack trace.
> Run with --info or --debug option to get more log output.
> Run with --scan to get full insights.
* Get more help at https://help.gradle.org
Deprecated Gradle features were used in this build, making it incompatible
with Gradle 8.0.
You can use '--warning-mode all' to show the individual deprecation warnings
and determine if they come from your own scripts or plugins.
See
https://docs.gradle.org/7.4.2/userguide/command_line_interface.html#sec:command_line_warnings
BUILD FAILED in 37s
```
</details>
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]