Oliver.O
05/24/2023, 9:48 PMSebastian Sellmair [JB]
05/25/2023, 6:30 AMSebastian Sellmair [JB]
05/25/2023, 10:58 AMSebastian Sellmair [JB]
05/25/2023, 10:58 AMOliver.O
05/25/2023, 11:00 AMSebastian Sellmair [JB]
05/25/2023, 12:12 PMOliver.O
05/25/2023, 12:45 PMOliver.O
05/25/2023, 1:26 PMkotlinx.serialization compiler plugin internal error
, caused by an NPE... I'll investigate, but this is stuff for another topic. No further Gradle/MPP issues so far. Well done!John O'Reilly
05/28/2023, 10:10 AM1.5.0-dev1057
John O'Reilly
05/28/2023, 10:49 AM1.4.7-dev-k1.9.0-Beta-bb7dc8b44eb
androidx one...that works with Compose for Desktop but not web/ios.Oliver.O
05/28/2023, 11:17 AMJohn O'Reilly
05/28/2023, 11:19 AMQuerying the mapped value of map(task ':compose-web:jsBrowserDevelopmentRun' property 'inputFilesDirectory') before task ':compose-web:jsDevelopmentExecutableCompileSync' has completed is not supported
John O'Reilly
05/28/2023, 11:23 AMJohn O'Reilly
05/28/2023, 11:29 AM1.4.0-dev-wasm08
of JB compose compiler....and with that one in this project the Compose for iOS and Compose for Desktop clients are working!John O'Reilly
05/28/2023, 11:30 AMOliver.O
05/28/2023, 11:31 AMQuerying the mapped value
with parts of my project using Compose Web (UI/Canvas), but once I enable a sub-project using Compsose HTML, which imports the former I get some Gradle issues as well, which I've not yet looked into:
* What went wrong:
Could not determine the dependencies of task ':frontend-js-dom:compileProductionExecutableKotlinFrontendJsDom'.
> Could not resolve all task dependencies for configuration ':frontend-js-dom:frontendJsDomRuntimeClasspath'.
> Could not resolve project :base.
Required by:
project :frontend-js-dom
> The consumer was configured to find a usage of 'kotlin-runtime' of a library, preferably optimized for non-jvm, as well as attribute 'org.jetbrains.kotlin.platform.type' with value 'js', attribute 'org.jetbrains.kotlin.js.compiler' with value 'ir'. However we cannot choose between the following variants of project :base:
- frontendJsUiPublicPackageJsonConfiguration
- frontendJsUiRuntimeElements
- koverArtifact
All of them match the consumer attributes:
- Variant 'frontendJsUiPublicPackageJsonConfiguration' capability com.example:base:0.0-SNAPSHOT declares a usage of 'kotlin-runtime' of a library, preferably optimized for non-jvm, as well as attribute 'org.jetbrains.kotlin.js.compiler' with value 'ir', attribute 'org.jetbrains.kotlin.platform.type' with value 'js':
- Unmatched attributes:
- Provides attribute 'org.jetbrains.kotlin.js.public.package.json' with value 'public-package-json' but the consumer didn't ask for it
- Provides attribute 'targetName' with value 'frontendJsUi' but the consumer didn't ask for it
- Variant 'frontendJsUiRuntimeElements' capability com.example:base:0.0-SNAPSHOT declares a usage of 'kotlin-runtime' of a library, preferably optimized for non-jvm, as well as attribute 'org.jetbrains.kotlin.js.compiler' with value 'ir', attribute 'org.jetbrains.kotlin.platform.type' with value 'js':
- Unmatched attribute:
- Provides attribute 'targetName' with value 'frontendJsUi' but the consumer didn't ask for it
- Variant 'koverArtifact' capability com.example:base:0.0-SNAPSHOT:
- Unmatched attributes:
- Provides attribute 'kotlinx.kover.artifact.name' with value '' but the consumer didn't ask for it
- Provides attribute 'kotlinx.kover.kotlin.plugin' with value 'MULTIPLATFORM' but the consumer didn't ask for it
- Provides attribute 'kotlinx.kover.project.path' with value ':base' but the consumer didn't ask for it
- Doesn't say anything about its component category (required a library)
- Doesn't say anything about its target Java environment (preferred optimized for non-jvm)
- Doesn't say anything about its usage (required a usage of 'kotlin-runtime')
- Doesn't say anything about org.jetbrains.kotlin.js.compiler (required 'ir')
- Doesn't say anything about org.jetbrains.kotlin.platform.type (required 'js')
The following variants were also considered but didn't match the requested attributes:
- Variant 'backendJvmApiElements' capability com.example:base:0.0-SNAPSHOT declares a library, preferably optimized for standard JVMs:
- Incompatible because this component declares an API of a component, as well as attribute 'org.jetbrains.kotlin.platform.type' with value 'jvm' and the consumer needed a usage of 'kotlin-runtime' of a component, as well as attribute 'org.jetbrains.kotlin.platform.type' with value 'js'
- Other compatible attribute:
- Doesn't say anything about org.jetbrains.kotlin.js.compiler (required 'ir')
- Variant 'backendJvmRuntimeElements' capability com.example:base:0.0-SNAPSHOT declares a runtime of a library, preferably optimized for standard JVMs:
- Incompatible because this component declares a component, as well as attribute 'org.jetbrains.kotlin.platform.type' with value 'jvm' and the consumer needed a component, as well as attribute 'org.jetbrains.kotlin.platform.type' with value 'js'
- Other compatible attribute:
- Doesn't say anything about org.jetbrains.kotlin.js.compiler (required 'ir')
- Variant 'backendJvmSourcesElements' capability com.example:base:0.0-SNAPSHOT declares a runtime of a component, preferably optimized for standard JVMs:
- Incompatible because this component declares documentation, as well as attribute 'org.jetbrains.kotlin.platform.type' with value 'jvm' and the consumer needed a library, as well as attribute 'org.jetbrains.kotlin.platform.type' with value 'js'
- Other compatible attribute:
- Doesn't say anything about org.jetbrains.kotlin.js.compiler (required 'ir')
- Variant 'frontendJsUiApiElements' capability com.example:base:0.0-SNAPSHOT declares a library, preferably optimized for non-jvm, as well as attribute 'org.jetbrains.kotlin.js.compiler' with value 'ir', attribute 'org.jetbrains.kotlin.platform.type' with value 'js':
- Incompatible because this component declares a usage of 'kotlin-api' of a component and the consumer needed a usage of 'kotlin-runtime' of a component
- Variant 'frontendJsUiSourcesElements' capability com.example:base:0.0-SNAPSHOT declares a usage of 'kotlin-runtime' of a component, preferably optimized for non-jvm, as well as attribute 'org.jetbrains.kotlin.js.compiler' with value 'ir', attribute 'org.jetbrains.kotlin.platform.type' with value 'js':
- Incompatible because this component declares documentation and the consumer needed a library
- Variant 'frontendJvmApiElements' capability com.example:base:0.0-SNAPSHOT declares a library, preferably optimized for standard JVMs:
- Incompatible because this component declares an API of a component, as well as attribute 'org.jetbrains.kotlin.platform.type' with value 'jvm' and the consumer needed a usage of 'kotlin-runtime' of a component, as well as attribute 'org.jetbrains.kotlin.platform.type' with value 'js'
- Other compatible attribute:
- Doesn't say anything about org.jetbrains.kotlin.js.compiler (required 'ir')
- Variant 'frontendJvmRuntimeElements' capability com.example:base:0.0-SNAPSHOT declares a runtime of a library, preferably optimized for standard JVMs:
- Incompatible because this component declares a component, as well as attribute 'org.jetbrains.kotlin.platform.type' with value 'jvm' and the consumer needed a component, as well as attribute 'org.jetbrains.kotlin.platform.type' with value 'js'
- Other compatible attribute:
- Doesn't say anything about org.jetbrains.kotlin.js.compiler (required 'ir')
- Variant 'frontendJvmSourcesElements' capability com.example:base:0.0-SNAPSHOT declares a runtime of a component, preferably optimized for standard JVMs:
- Incompatible because this component declares documentation, as well as attribute 'org.jetbrains.kotlin.platform.type' with value 'jvm' and the consumer needed a library, as well as attribute 'org.jetbrains.kotlin.platform.type' with value 'js'
- Other compatible attribute:
- Doesn't say anything about org.jetbrains.kotlin.js.compiler (required 'ir')
- Variant 'integrationJvmApiElements' capability com.example:base:0.0-SNAPSHOT declares a library, preferably optimized for standard JVMs:
- Incompatible because this component declares an API of a component, as well as attribute 'org.jetbrains.kotlin.platform.type' with value 'jvm' and the consumer needed a usage of 'kotlin-runtime' of a component, as well as attribute 'org.jetbrains.kotlin.platform.type' with value 'js'
- Other compatible attribute:
- Doesn't say anything about org.jetbrains.kotlin.js.compiler (required 'ir')
- Variant 'integrationJvmRuntimeElements' capability com.example:base:0.0-SNAPSHOT declares a runtime of a library, preferably optimized for standard JVMs:
- Incompatible because this component declares a component, as well as attribute 'org.jetbrains.kotlin.platform.type' with value 'jvm' and the consumer needed a component, as well as attribute 'org.jetbrains.kotlin.platform.type' with value 'js'
- Other compatible attribute:
- Doesn't say anything about org.jetbrains.kotlin.js.compiler (required 'ir')
- Variant 'integrationJvmSourcesElements' capability com.example:base:0.0-SNAPSHOT declares a runtime of a component, preferably optimized for standard JVMs:
- Incompatible because this component declares documentation, as well as attribute 'org.jetbrains.kotlin.platform.type' with value 'jvm' and the consumer needed a library, as well as attribute 'org.jetbrains.kotlin.platform.type' with value 'js'
- Other compatible attribute:
- Doesn't say anything about org.jetbrains.kotlin.js.compiler (required 'ir')
- Variant 'metadataApiElements' capability com.example:base:0.0-SNAPSHOT declares a library, preferably optimized for non-jvm:
- Incompatible because this component declares a usage of 'kotlin-metadata' of a component, as well as attribute 'org.jetbrains.kotlin.platform.type' with value 'common' and the consumer needed a usage of 'kotlin-runtime' of a component, as well as attribute 'org.jetbrains.kotlin.platform.type' with value 'js'
- Other compatible attribute:
- Doesn't say anything about org.jetbrains.kotlin.js.compiler (required 'ir')
- Variant 'metadataSourcesElements' capability com.example:base:0.0-SNAPSHOT declares a usage of 'kotlin-runtime' of a component, preferably optimized for non-jvm:
- Incompatible because this component declares documentation, as well as attribute 'org.jetbrains.kotlin.platform.type' with value 'common' and the consumer needed a library, as well as attribute 'org.jetbrains.kotlin.platform.type' with value 'js'
- Other compatible attribute:
- Doesn't say anything about org.jetbrains.kotlin.js.compiler (required 'ir')
John O'Reilly
05/28/2023, 11:33 AMArkadii Ivanov
09/17/2023, 6:41 PM