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
bjonnh
07/13/2019, 8:39 PM
Cannot choose between the following variants of project api library
- compile
- default
- runtime
- testCompile
- testRuntime
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.