Alexander Minyaev
07/19/2020, 6:26 AMkotlin {
js("nodeJs"){
nodejs()
}
js {
browser()
}
...
}
Now, I get error:
Could not determine the dependencies of task ':app:fullstack-js:client:browserDevelopmentRun'.
> Could not resolve all task dependencies for configuration ':app:fullstack-js:client:compileClasspath'.
> Could not resolve project :app:fullstack-js:domain.
Required by:
project :app:fullstack-js:client
project :app:fullstack-js:client > project :app:fullstack-js:feature
> Cannot choose between the following variants of project :app:fullstack-js:domain:
- jsApiElements
- nodeJsApiElements
All of them match the consumer attributes:
- Variant 'jsApiElements':
- Required org.gradle.usage 'kotlin-api' and found compatible value 'kotlin-api'.
- Found org.jetbrains.kotlin.localToProject 'public' but wasn't required.
- Required org.jetbrains.kotlin.platform.type 'js' and found compatible value 'js'.
- Variant 'nodeJsApiElements':
- Required org.gradle.usage 'kotlin-api' and found compatible value 'kotlin-api'.
- Found org.jetbrains.kotlin.localToProject 'public' but wasn't required.
- Required org.jetbrains.kotlin.platform.type 'js' and found compatible value 'js'.