ShootingStar
09/05/2019, 8:17 AMgildor
09/05/2019, 8:20 AMShootingStar
09/05/2019, 8:21 AMgildor
09/05/2019, 8:22 AMShootingStar
09/05/2019, 8:22 AMgildor
09/05/2019, 8:22 AMShootingStar
09/05/2019, 8:23 AMgildor
09/05/2019, 8:24 AMShootingStar
09/05/2019, 8:24 AMCould not determine the dependencies of task ':app0:compileKotlinJvm'.
> Could not resolve all task dependencies for configuration ':app0:jvmCompileClasspath'.
> Could not resolve project :ein.
Required by:
project :app0
> Unable to find a matching variant of project :ein:
- Variant 'metadataApiElements':
- Required org.gradle.usage 'java-api' and found incompatible value 'kotlin-api'.
- Found org.jetbrains.kotlin.localToProject 'public' but wasn't required.
- Required org.jetbrains.kotlin.platform.type 'jvm' and found incompatible value 'common'.
- Variant 'metadataCompile':
- Required org.gradle.usage 'java-api' but no value provided.
- Found org.jetbrains.kotlin.localToProject 'local to :ein' but wasn't required.
- Required org.jetbrains.kotlin.platform.type 'jvm' and found incompatible value 'common'.
- Variant 'metadataCompileOnly':
- Required org.gradle.usage 'java-api' but no value provided.
- Found org.jetbrains.kotlin.localToProject 'local to :ein' but wasn't required.
- Required org.jetbrains.kotlin.platform.type 'jvm' and found incompatible value 'common'.
- Variant 'metadataDefault':
- Required org.gradle.usage 'java-api' but no value provided.
- Found org.jetbrains.kotlin.localToProject 'local to :ein' but wasn't required.
- Required org.jetbrains.kotlin.platform.type 'jvm' and found incompatible value 'common'.
sourceSets {
commonMain {
dependencies {
api project(':ein')
implementation kotlin('stdlib-common')
}
}
...
implementation
tooBig Chungus
09/05/2019, 8:32 AMgildor
09/05/2019, 8:32 AMIn new mpp modules are replaced by source setsIt’s incorrect
ShootingStar
09/05/2019, 8:32 AMgildor
09/05/2019, 8:32 AMShootingStar
09/05/2019, 8:33 AMgildor
09/05/2019, 8:33 AMBig Chungus
09/05/2019, 8:33 AMgildor
09/05/2019, 8:34 AMBig Chungus
09/05/2019, 8:35 AMgildor
09/05/2019, 8:35 AMShootingStar
09/05/2019, 8:39 AMgildor
09/05/2019, 8:41 AMShootingStar
09/05/2019, 8:42 AMgildor
09/05/2019, 8:54 AMShootingStar
09/05/2019, 8:54 AMkotlin {
...
sourceSets{
...
gildor
09/05/2019, 8:55 AMShootingStar
09/05/2019, 8:56 AMgildor
09/05/2019, 8:58 AMShootingStar
09/05/2019, 8:59 AMgildor
09/05/2019, 9:00 AMShootingStar
09/05/2019, 9:01 AMgildor
09/05/2019, 9:01 AMShootingStar
09/05/2019, 9:01 AMgildor
09/05/2019, 9:25 AM