Replies: 2 comments 20 replies
-
@serpro69 Have you ever tried building the project for macOS aarch64? Build file '/Users/tamimattafi/Projects/kmm/kotlin-faker/cli-bot/build.gradle.kts' line: 64
Failed to calculate the value of task ':cli-bot:compileJava' property 'javaCompiler'.
> No matching toolchains found for requested specification: {languageVersion=8, vendor=matching('Temurin'), implementation=vendor-specific} for MAC_OS on aarch64.
> No locally installed toolchains match and toolchain download repositories have not been configured. Line 64 of "Class-Path" to project.configurations.compileClasspath.get().joinToString(" ") { it.name }, Commenting this line doesn't hide the issue, it's still present but with line 143 (The end of the file) Changing IDE's JDK to 1.8 throws another error A problem occurred configuring project ':cli-bot'.
> Could not resolve all files for configuration ':cli-bot:classpath'.
> Could not resolve org.graalvm.buildtools:native-gradle-plugin:0.10.1.
Required by:
project :cli-bot > org.graalvm.buildtools.native:org.graalvm.buildtools.native.gradle.plugin:0.10.1
> No matching variant of org.graalvm.buildtools:native-gradle-plugin:0.10.1 was found. The consumer was configured to find a library for use during runtime, compatible with Java 8, packaged as a jar, and its dependencies declared externally, as well as attribute 'org.gradle.plugin.api-version' with value '8.4' but:
- Variant 'apiElements' capability org.graalvm.buildtools:native-gradle-plugin:0.10.1 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 11 and the consumer needed a component for use during runtime, compatible with Java 8
- Other compatible attribute:
- Doesn't say anything about org.gradle.plugin.api-version (required '8.4')
- Variant 'javadocElements' capability org.graalvm.buildtools:native-gradle-plugin:0.10.1 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 8)
- 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.4')
- Variant 'runtimeElements' capability org.graalvm.buildtools:native-gradle-plugin:0.10.1 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 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 '8.4')
- Variant 'sourcesElements' capability org.graalvm.buildtools:native-gradle-plugin:0.10.1 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 8)
- 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.4') Searching for a solution. |
Beta Was this translation helpful? Give feedback.
-
@serpro69 Hello!
The first step will require implementing kotlin multiplatform plugin with basic targets, and move all the current logic from the |
Beta Was this translation helpful? Give feedback.
-
Discussion around adding mutiplatform support to kotlin-faker, which is done in #226
Beta Was this translation helpful? Give feedback.
All reactions