I'm getting an error with gradle: - Variant 'test...
# gradle
b
I'm getting an error with gradle: - Variant 'testRuntime' capability mystuffapi libraryunspecified: - Unmatched attributes: - Required org.gradle.category 'platform' but no value provided. - Required org.gradle.dependency.bundling 'external' but no value provided. - Required org.gradle.jvm.version '12' but no value provided. - Required org.gradle.usage 'java-api' but no value provided. - Found org.jetbrains.kotlin.localToProject 'local to :api-library' but wasn't required. - Compatible attribute: - Required org.jetbrains.kotlin.platform.type 'jvm' and found compatible value 'jvm'.
stackoverflow 1
google 1
Cannot choose between the following variants of project api library - compile - default - runtime - testCompile - testRuntime
compile(platform(project(":api-library", configuration="default")))
seems to solve it, not sure why, how though…
To the people just answering with SO and google emojis (useful thank you…) , all I found was related to android problems and nothing explained clearly what happened.